Couchpotato jail
couchpotato jail
Setup for couchpotato service jail with iocage.
On FreeNAS
Create jail:
On Freenas create datasets:
Datasets
Couchpotato Data
tank/data/database/couchpotato
Media
For all media
tank/media/Movies/...
Downloads
For all Downloads
tank/media/Downloads/...
Create media user/group using uid from freenas:
Nullfs mount datasets in jail:
Couchpotato data:
Downloads:
Setup directories:
Repeat for media:
Check fstab:
Start jail and enter.
In Jail
Install couchpotato freebsd version from git.
Install required tools
Use user media, clone to a temp repo in /var/db
.
Move the bare repo that was just cloned to the dataset we mounted earlier to /var/db/couchpotato
.
Switch to the media
user and reset the repo to HEAD.
As root, copy the startup script to /usr/local/etc/rc.d
and make the startup script executable.
Read the options at the top of /usr/local/etc/rc.d/couchpotato
.
If not using the default install, specify options with startup flags.
Finally, start couchpotato.
Restart the jail, open your browser and go to http://server:5050/.
Last updated