1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This Configuration file is used to to define a standard deployment, without
# any create instances. This should create the basic services required for run
# one ERP5 instance, like MySQL server, Oood and so on. For use this configuration
# it is required build a software home previously.
[buildout]
extends =
../instance-profiles/apache.cfg
../instance-profiles/memcached.cfg
../instance-profiles/mysql-database.cfg
../instance-profiles/mysql.cfg
../instance-profiles/sphinx.cfg
../instance-profiles/oood.cfg
../instance-profiles/supervisor.cfg
../instance-profiles/zope-2.12.cfg
../instance-profiles/kvm.cfg
../instance-profiles/testrunner.cfg
../instance-profiles/testing.cfg
../profiles/software-definition.cfg
../profiles/versions-2.12.cfg
../software-profiles/erp5-2.12.cfg
../profiles/common.cfg
parts =
eggs
mysql-instance
oood-instance
supervisor-instance
memcached-instance
python = software_definition
versions = versions
[eggs]
scripts +=
mkzopeinstance
runzope
[configuration]
supervisor_programs =
10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
#[software-links]
#recipe = plone.recipe.command
#command =
# ln -sf ${software_definition:software_home}/bin/python2.4 ${buildout:bin-directory}/python2.4
# ln -sf ${software_definition:software_home}/bin/ipython2.4 ${buildout:bin-directory}/ipython2.4
#update-command = ${:command}