Skip to content

Instantly share code, notes, and snippets.

@toutpt
Created February 26, 2013 21:27
Show Gist options
  • Save toutpt/5042368 to your computer and use it in GitHub Desktop.
Save toutpt/5042368 to your computer and use it in GitHub Desktop.
supervisor buildout example
recipe = collective.recipe.supervisor
plugins =
superlance
port = 9001
user = mustapha
password = secret
serverurl = http://supervisor.mustap.com
programs =
10 zeo ${zeo:location}/bin/runzeo ${zeo:location}
20 instance1 ${instance1:location}/bin/runzope ${instance1:location} true
30 instance2 (autostart=false) ${instance2:location}/bin/runzope true
40 maildrophost ${buildout:bin-directory}/maildropctl true
50 other ${buildout:bin-directory}/other [-n 100] /tmp
60 other2 ${buildout:bin-directory}/other2 [-n 100] true
70 other3 (startsecs=10) ${buildout:bin-directory}/other3 [-n -h -v --no-detach] /tmp3 true www-data
eventlisteners =
Memmon TICK_60 ${buildout:bin-directory}/memmon [-p instance1=200MB]
HttpOk (startsecs=20) TICK_60 ${buildout:bin-directory}/httpok [-p site1 -t 20 http://localhost:8080/]
groups =
10 services zeo,instance1
20 others other,other2,other3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment