deployment.cfg 1.28 KB
Newer Older
1
[buildout]
2
extends =
3
  ../instance-profiles/apache.cfg
4
  ../instance-profiles/memcached.cfg
5
  ../instance-profiles/mysql-database.cfg
6 7 8 9
  ../instance-profiles/mysql.cfg
  ../instance-profiles/oood.cfg
  ../instance-profiles/supervisor.cfg
  ../instance-profiles/zope.cfg
10
  ../instance-profiles/kvm.cfg
11
  ../instance-profiles/testrunner.cfg
12
  ../instance-profiles/testing.cfg
13 14
  ../profiles/software-definition.cfg
  ../profiles/versions.cfg
15
  ../profiles/common.cfg
16

17
parts =
18
  software-links
19 20
  mysql-instance
  oood-instance
21
  supervisor-instance
22
  memcached-instance
23

24 25 26
python = software_definition
versions = versions

27 28
[configuration]
supervisor_programs =
29
  10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
30
  20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
31

32 33 34 35
[software-links]
recipe = plone.recipe.command
command =
  ln -sf ${software_definition:software_home}/bin/python2.4 ${buildout:bin-directory}/python2.4
36
  ln -sf ${software_definition:software_home}/bin/ipython2.4 ${buildout:bin-directory}/ipython2.4
37 38
update-command = ${:command}

39
[software_definition]
40
software_home = /opt/erp5/trunk
41
executable = ${:software_home}/bin/python2.4