Updated Install as a daemon (markdown)

JonnyWong16
2015-12-20 14:59:18 -08:00
parent bad7aa5283
commit d6ccc952b9

@@ -17,11 +17,14 @@ This installation assumes PlexPy is installed to `/opt/plexpy`. Make sure all pa
## Mac OS X ## Mac OS X
Tested on Mac OS X 10.8.2. Assumes PlexPy is installed to `/Applications/PlexPy/` Tested on Mac OS X 10.8.2. Assumes PlexPy is installed to `/Applications/PlexPy/`
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* `ln -s /Applications/PlexPy/init-scripts/init.osx ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist` * `ln -s /Applications/PlexPy/init-scripts/init.osx ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist`
* `launchctl [load | unload] ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist` * To start PlexPy run `launchctl load ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist`
* To stop PlexPy run `launchctl unload ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist`
In Yosemite (and greater) you should do the following: In Yosemite (and greater) you should do the following:
* Make sure PlexPy is shutdown. `PlexPy > Settings > Shutdown`
* `cp /Applications/PlexPy/init-scripts/init.osx ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist` * `cp /Applications/PlexPy/init-scripts/init.osx ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist`
* `sudo chmod 0600 ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist` * `sudo chmod 0600 ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist`
* `sudo chown root ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist` * `sudo chown root ~/Library/LaunchAgents/com.drzoidberg33.plexpy.plist`