Last active
December 17, 2015 01:09
-
-
Save lukecampbell/5526426 to your computer and use it in GitHub Desktop.
launchd plist file for starting supervisord on startup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>python.supervisord</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/luke/Documents/Dev/virtenvs/work/bin/python</string> | |
<string>/Users/luke/Documents/Dev/virtenvs/work/bin/supervisord</string> | |
<string>-c</string> | |
<string>/Users/luke/.supervisor/supervisord.conf</string> | |
<string>-n</string> | |
</array> | |
<key>RunAtLoad</key> <true/> | |
<key>UserName</key> | |
<string>luke</string> | |
<key>WorkingDirectory</key> | |
<string>/Users/luke</string> | |
<key>Debug</key><true/> | |
<key>StandardOutPath</key> | |
<string>/tmp/supervisor.log</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/sbin:/usr/bin:/bin:/usr/local/bin</string> | |
<key>HOME</key> | |
<string>/Users/luke</string> | |
</dict> | |
</dict> | |
</plist> | |
<!-- | |
Location: ~/Library/LaunchAgents/python.supervisord.plist | |
Load: launchctl load ~/Library/LaunchAgents/python.supervisord.plist | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment