[buildout]
parts = zope-instance

[zope-instance]
recipe = erp5.recipe.zope2instance
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
user = zope:zope
environment-vars =
  PATH ${software_definition:software_home}/parts/imagemagick/bin:${software_definition:software_home}/parts/w3m/bin:${software_definition:software_home}/parts/xpdf/bin:${software_definition:software_home}/parts/ghostscript/bin:${software_definition:software_home}/parts/pdftk/bin:${software_definition:software_home}/parts/file/bin:${software_definition:software_home}/parts/graphviz/bin
  LD_LIBRARY_PATH ${software_definition:software_home}/parts/file/lib
zope-conf-additional =
  # Clockserver to have ticks in zope
  <clock-server>
  method /Control_Panel/timer_service/process_timer?interval:int=5
  period 5
  </clock-server>
supervisor-priority = 30
supervisor-program =
  ${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true

# this name is only for backward compatibility
[zope-instance-template]
<= zope-instance