Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Daemons for a developer on Mac OS

View com.agendaless.supervisord.plist
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?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>
View com.agendaless.supervisord.plist
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
[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
Something went wrong with that request. Please try again.