Updated Install as a daemon (markdown)

jj-uk
2017-12-22 19:05:45 +00:00
parent 9c2638ba43
commit 401734c187

@@ -111,4 +111,35 @@ To automate the PlexPy script just do this in the jail shell (in root directory)
Optional:
* If you need to change user: `sysrc plexpy_user="USERNAME"`
* Set user permissions for the plexpy directory: `chown -R USERNAME:GROUPNAME /usr/local/share/plexpy`
* Run from another directory: `sysrc plexpy_dir="DIRECTORY"`
* Run from another directory: `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