supervisor.cfg 972 Bytes
Newer Older
1
[buildout]
2
parts =
3
  supervisor-instance
4 5 6 7

[configuration]
supervisor_port = 10000
supervisor_host = 127.0.0.1
8

9 10 11 12 13 14 15 16
[supervisor-instance]
depends = ${supervisor:recipe}
recipe = plone.recipe.command
command =
  ln -sf ${buildout:bin-directory}/supervisorctl ${buildout:data-bin-directory}/supervisorctl
  ln -sf ${buildout:bin-directory}/supervisord ${buildout:data-bin-directory}/supervisord
  ln -sf ${buildout:bin-directory}/pidproxy ${buildout:data-bin-directory}/pidproxy

17 18 19 20 21 22 23 24 25 26 27 28
[pidproxy]
# this should've been provided by collective.recipe.supervisor itself
recipe = zc.recipe.egg
eggs = supervisor
scripts = pidproxy

[supervisor]
supervisord-conf = ${buildout:etc-directory}/supervisord.conf
depends = ${pidproxy:recipe}
recipe = collective.recipe.supervisor
serverurl = http://${configuration:supervisor_host}:${configuration:supervisor_port}
pp = ${buildout:directory}/eggs/supervisor-3.0a7-py2.5.egg/supervisor/pidproxy.py
29
programs = ${configuration:supervisor_programs}