Make sure PlexPy is shutdown.

JonnyWong16
2016-05-12 01:04:45 -07:00
parent f75343fad1
commit f9e2dcc9dd

@@ -3,14 +3,20 @@ These steps are presented as guidelines. Your results may vary, depending on ope
## Windows
This will start PlexPy when you login to Windows without the command prompt.
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* Create a new shortcut ([screenshot](http://i.imgur.com/CBA2D6f.png)) in your startup folder with
* Target: `C:\Python27\pythonw.exe C:\Path\to\PlexPy\PlexPy.py`
* Start in: `C:\Python27`
* Start PlexPy with the shortcut
## Ubuntu
This installation assumes PlexPy is installed to `/opt/plexpy`. Make sure all paths are correct and accessible. A common mistake is that a daemon user has no read and/or write permissions.
* For Ubuntu that uses systemd (15.10+) utilize this service script: https://github.com/drzoidberg33/plexpy/blob/master/init-scripts/init.ubuntu.systemd
For Ubuntu that uses systemd (15.10+) utilize this service script. The instructions in the script file.
* https://github.com/drzoidberg33/plexpy/blob/master/init-scripts/init.ubuntu.systemd
For other versions of Ubuntu:
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* `cd /opt/plexpy`
* `sudo touch /etc/default/plexpy`
* Optional:
@@ -35,6 +41,7 @@ If you need to specify a version of Python, edit `com.drzoidberg33.plexpy.plist`
## FreeBSD
This assumes PlexPy is installed to `/usr/local/share/` as per installation instructions, and user is _sabnzbd. You can make your own user too: `sudo adduser`
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* Ensure user permissions are correct: `sudo chown -R _sabnzbd:_sabnzbd /usr/local/plexpy`
* Copy init script: `sudo cp /usr/local/plexpy/init-scripts/init.freebsd /usr/local/etc/rc.d/plexpy`
* Enable at boot: `sudo sysrc plexpy_enable="YES"`
@@ -50,6 +57,7 @@ Instructions by [Supa on the FreeNAS forums](https://forums.freenas.org/index.ph
This assumes PlexPy is installed to `/usr/local/share/` as per installation instructions.
To automate the PlexPy script just do this in the jail shell (in root directory):
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* Type: `cp /usr/local/share/plexpy/init-scripts/init.freenas /etc/rc.d/plexpy`
* Type: `chmod 777 /etc/rc.d/plexpy`
* Type: `edit /etc/rc.d/plexpy`