Updated Install as a daemon (markdown)

JonnyWong16
2018-01-14 23:36:56 -08:00
parent b5789f5d12
commit 2dd92dc70b

@@ -94,36 +94,6 @@ Optional:
* Run from another directory: `sudo sysrc plexpy_dir="DIRECTORY"` * Run from another directory: `sudo sysrc plexpy_dir="DIRECTORY"`
## FreeNAS (FreshPorts pkg install)
* pkg install plexpy
* pkg update && pkg upgrade
* pkg install -y plexpy
Auto-start when the jail starts:
* sysrc plexpy_enable="YES"
Set the user for which plexpy will run as:
* sysrc plexpy_user="root"
If you're using FreeNAS 11.1, and you're installing into a 'warden' jail (e.g. created with the 'old' FreeNAS GUI), you'll need to install older versions of sqlite3 and py-sqlite3:
* portsnap fetch
* portsnap extract
* cd /usr/ports/databases/sqlite3
* make deinstall
* make install clean ALLOW_UNSUPPORTED_SYSTEM=true
* cd /usr/ports/databases/py-sqlite3
* make deinstall
* make install clean ALLOW_UNSUPPORTED_SYSTEM=true
Finally, either restart the jail via the FreeNAS GUI, or start the service manually:
* service plexpy start
Plexpy is available at:
* http:// jail ip : 8181
## FreeNAS (git clone) ## FreeNAS (git clone)
Instructions by [Supa on the FreeNAS forums](https://forums.freenas.org/index.php?threads/how-to-install-plexpy-in-a-freenas-9-3-jail.38589/#post-234202). Instructions by [Supa on the FreeNAS forums](https://forums.freenas.org/index.php?threads/how-to-install-plexpy-in-a-freenas-9-3-jail.38589/#post-234202).