[buildout]

extends =
  ../slapos.cfg
  buildout.hash.cfg

parts =
  supervisord-conf
  supervisord-library

[supervisord-download-base]
recipe = slapos.recipe.build:download
mode = 0644
url = ${:_profile_base_location_}/${:_update_hash_filename_}


[supervisord-eggs]
recipe = zc.recipe.egg
eggs =
  ${slapos-cookbook:eggs}
  supervisor
scripts =
  supervisord
  supervisorctl

[supervisord-library]
<= supervisord-download-base
filename = supervisord.jinja2.in
depends = ${supervisord-eggs:recipe}

[supervisord-conf]
<= supervisord-download-base
filename = supervisord.conf.in
