-
Notifications
You must be signed in to change notification settings - Fork 0
/
live.cfg
executable file
·158 lines (129 loc) · 4.54 KB
/
live.cfg
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[buildout]
extends = base.cfg
filestorage.cfg
parts +=
zeoserver
client1
client2
zopepy
zopeskel
backup
# chown-zeo
#eggs-directory=/data/ploneconf/ploneconfbuildout/buildout-cache/eggs
#download-cache=/data/ploneconf/ploneconfbuildout/buildout-cache/downloads
newest = false
versions = versions
# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
http://dist.plone.org
http://dist.plone.org/release/4.0.4
http://download.zope.org/ppix/
http://download.zope.org/distribution/
http://effbot.org/downloads
# unzip all eggs for easier debugging
unzip = true
$extends-cache = /data/ploneconf/ploneconfbuildout/buildout-cache/downloads/extends
zeo-address = 127.0.0.1:8100
# Zope client 1
http-address = 10000
# Zope client 2
client2-address = 10001
user=admin:894367
backups-dir=${buildout:directory}/var
debug-mode = off
deprecation-warnings = off
verbose-security = off
# If you try to start Zope as root, it will change user id to run as
# the effective user specified here. This user id must own the var directory
# of your buildout.
effective-user = plone
[zopepy]
# installs a zopepy python interpreter that runs with your
# full Zope environment
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
interpreter = zopepy
scripts = zopepy
[backup]
# This recipe builds the backup, restore and snapshotbackup commands.
# For options see http://pypi.python.org/pypi/collective.recipe.backup
recipe = collective.recipe.backup
location = ${buildout:backups-dir}/backups
snapshotlocation = ${buildout:backups-dir}/snapshotbackups
[zeoserver]
# Use this section to install and configure a Zope
# Enterprise Objects server.
# For options see http://pypi.python.org/pypi/plone.recipe.zeoserver
recipe = plone.recipe.zeoserver
zeo-address = 127.0.0.1:8100
# if we try to start as root, Zope will switch to the user below
effective-user = ploneconf
# Put the log, pid and socket files in var/zeoserver
zeo-log = ${buildout:directory}/var/zeoserver/zeoserver.log
pid-file = ${buildout:directory}/var/zeoserver/zeoserver.pid
socket-name = ${buildout:directory}/var/zeoserver/zeo.zdsock
blob-storage = ${buildout:directory}/var/blobstorage
[client1]
# Use this section to install and configure a Zope
# client instance.
# For options see http://pypi.python.org/pypi/plone.recipe.zope2instance
recipe = plone.recipe.zope2instance
zeo-client = true
zeo-address = ${zeoserver:zeo-address}
# The line below sets only the initial password. It will not change an
# existing password.
user = admin:894367
# if we try to start as root, Zope will switch to the user below
effective-user = ploneconf
http-address = 10000
blob-storage = ${zeoserver:blob-storage}
shared-blob = on
# change debug-mode to "on" to run in development mode
debug-mode = off
# change verbose-security to "on" for detailed security
# errors while developing
verbose-security = off
deprecation-warnings = off
# Put the log, pid, lock files in var/client1
event-log = ${buildout:directory}/var/client1/event.log
z2-log = ${buildout:directory}/var/client1/Z2.log
pid-file = ${buildout:directory}/var/client1/client1.pid
lock-file = ${buildout:directory}/var/client1/client1.lock
# If you want Zope to know about any additional eggs, list them here.
# e.g. eggs = ${buildout:eggs} my.package
eggs =
${buildout:eggs}
products =
${buildout:directory}/products
# You may also control the environment variables for the instance.
environment-vars =
PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
[client2]
# a copy of client1, except adjusted address and var location
<= client1
http-address = 10001
event-log = ${buildout:directory}/var/client2/event.log
z2-log = ${buildout:directory}/var/client2/Z2.log
pid-file = ${buildout:directory}/var/client2/client2.pid
lock-file = ${buildout:directory}/var/client2/client2.lock
[chown-zeo]
# This recipe is used to set permissions for root mode installs
# For options see http://pypi.python.org/pypi/plone.recipe.command
recipe = plone.recipe.command
command =
echo Dummy references to force this to execute after referenced parts
echo ${backup:location} ${unifiedinstaller:sudo-command}
chmod 600 .installed.cfg
touch ${buildout:directory}/var/zeoserver/zeoserver.log
find ${buildout:directory}/var -type d -exec chmod 700 {} \;
chmod 744 ${buildout:directory}/bin/*
update-command = ${chown-zeo:command}
[osxcontroller]
recipe=plone.recipe.osxcontroller
[zopeskel]
# installs paster and Zopeskel
recipe = zc.recipe.egg
eggs =
PasteScript
ZopeSkel