Updated Install as a daemon (markdown)

JonnyWong16
2018-01-22 14:33:42 -08:00
parent 31e08ecae1
commit 4e918612e5

@@ -102,7 +102,7 @@ This assumes PlexPy is installed to `/usr/local/share/` as per installation inst
To automate the PlexPy script just do this in the jail shell (in root directory): To automate the PlexPy script just do this in the jail shell (in root directory):
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown` * Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* Ensure user permissions are correct: `chown -R root:wheel /usr/local/share/plexpy` * Ensure user permissions are correct: `chown -R root:wheel /usr/local/share/plexpy`
* Copy init script: `cp /usr/local/share/plexpy/init-scripts/init.freenas /etc/rc.d/plexpy` * Copy init script: `cp /usr/local/share/plexpy/init-scripts/init.freenas /usr/local/etc/rc.d/plexpy`
* Enable at boot: `sysrc plexpy_enable="YES"` * Enable at boot: `sysrc plexpy_enable="YES"`
* Set user to run: `sysrc plexpy_user="root"` * Set user to run: `sysrc plexpy_user="root"`
* To start `service plexpy start` * To start `service plexpy start`