Skip to content

Instantly share code, notes, and snippets.

@benmargolin
Created April 25, 2014 06:37
Show Gist options
  • Save benmargolin/11279697 to your computer and use it in GitHub Desktop.
Save benmargolin/11279697 to your computer and use it in GitHub Desktop.
couchpotato launchd plist (goes in /Library/LaunchDaemons, then launchctl load -w com.couchpotato.plist ; launchctl start com.couchpotato)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UserName</key>
<string>ben</string>
<key>Label</key>
<string>com.couchpotato</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>python</string>
<string>/Users/ben/plex/CouchPotatoServer/CouchPotato.py</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/Users/ben/plex/</string>
<key>ServiceDescription</key>
<string>CouchPotato</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment