[buildout]
parts =
supervisor-instance
[configuration]
supervisor_port = 9001
supervisor_host = 127.0.0.1
[supervisor-instance]
depends =
${supervisor:recipe}
${create-directories:command}
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
[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
programs = ${configuration:supervisor_programs}
port = ${configuration:supervisor_host}:${configuration:supervisor_port}
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33871 20353a03-c40f-0410-a6d1-a30d3c3de9de
61cc9bba