Last active
August 29, 2015 14:02
-
-
Save canburak/eda4ddd723030f219daa to your computer and use it in GitHub Desktop.
Daemons for a developer on Mac OS
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> | |
<!-- Do not restart when you intentinally shutdown supervisord --> | |
<key>KeepAlive</key> | |
<dict> | |
<key>SuccessfulExit</key> | |
<false/> | |
</dict> | |
<key>Label</key> | |
<string>com.agendaless.supervisord</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/supervisord</string> | |
<string>-c</string> | |
<string>/Users/canburak/Can/supervisor/supervisor.conf</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>UserName</key> | |
<string>canburak</string> | |
<key>WorkingDirectory</key> | |
<string>/Users/canburak/Can/supervisor/</string> | |
<key>StandardErrorPath</key> | |
<string>/Users/canburak/Can/supervisor/launchd_stderr.log</string> | |
<key>StandardOutPath</key> | |
<string>/Users/canburak/Can/supervisor/launchd_stdout.log</string> | |
</dict> | |
</plist> |
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
[supervisord] | |
nodaemon=true | |
directory=%(here)s | |
childlogdir=childlogs | |
[unix_http_server] | |
file=supervisord.sock | |
[supervisorctl] | |
serverurl=unix://%(here)s/supervisord.sock | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
[include] | |
files = conf.d/*.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment