diff --git a/buildout/instance-profiles/supervisor.cfg b/buildout/instance-profiles/supervisor.cfg index 4415de8aca4f80b506bfc91f70b10f552f2780cf..c8c534b56866b2437e0dc8855e88066059f85c50 100644 --- a/buildout/instance-profiles/supervisor.cfg +++ b/buildout/instance-profiles/supervisor.cfg @@ -1,11 +1,19 @@ [buildout] parts = - supervisor + supervisor-instance [configuration] supervisor_port = 10000 supervisor_host = 127.0.0.1 +[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 + [pidproxy] # this should've been provided by collective.recipe.supervisor itself recipe = zc.recipe.egg