Commit 28d1f61e authored by Łukasz Nowak's avatar Łukasz Nowak

- introduce and use supervisor (adapted...

 - introduce and use supervisor (adapted https://svn.erp5.org/repos/public/experimental/mysqlsenna.buildout/trunk/buildout.cfg)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31976 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 291085c4
[buildout] [buildout]
extends = official.cfg extends = official.cfg
parts +=
pidproxy
supervisor
[supervisor]
programs =
10 mysql ${buildout:bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:bin-directory}/mysqld ]
[buildout]
parts =
supervisor
pidproxy
[configuration]
supervisor_port = 10000
supervisor_host = 127.0.0.1
[pidproxy]
# this should've been provided by collective.recipe.supervisor itself
recipe = zc.recipe.egg
eggs = supervisor
scripts = pidproxy
[supervisor]
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment