deployment.cfg 1.17 KB
Newer Older
1
[buildout]
2
extends =
3
  ../instance-profiles/mysql-database.cfg
4 5 6 7
  ../instance-profiles/mysql.cfg
  ../instance-profiles/oood.cfg
  ../instance-profiles/supervisor.cfg
  ../instance-profiles/zope.cfg
8 9
  ../profiles/software-definition.cfg
  ../profiles/versions.cfg
10
  ../profiles/common.cfg
11

12
parts =
13
  software-links
14 15
  mysql-instance
  oood-instance
16
  supervisor-instance
17

18 19 20
python = software_definition
versions = versions

21 22
[configuration]
supervisor_programs =
23
  10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
24
  20 oood (autorestart=true stopsignal=TERM stopwaitsecs=120) ${buildout:data-bin-directory}/pidproxy [ ${configuration:oood_pid} ${buildout:data-bin-directory}/oood-runserw --start ] ${buildout:etc-directory}
25

26 27 28 29
[software-links]
recipe = plone.recipe.command
command =
  ln -sf ${software_definition:software_home}/bin/python2.4 ${buildout:bin-directory}/python2.4
30
  ln -sf ${software_definition:software_home}/bin/ipython2.4 ${buildout:bin-directory}/ipython2.4
31 32
update-command = ${:command}

33
[software_definition]
34
software_home = /opt/erp5/trunk
35
executable = ${:software_home}/bin/python2.4