-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtangrama.cfg
123 lines (110 loc) · 2.86 KB
/
tangrama.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
[buildout]
extends =
buildout.d/settings.cfg
buildout.d/supervisor.cfg
buildout.d/maintenance.cfg
parts+=
plonesite
logrotate
logrotate-diario
zopepy
eggs +=
Pillow
munin.zope
zcml +=
munin.zope
allow-hosts = *
unzip = true
relative-paths = true
[logrotate]
recipe = collective.recipe.template
output = ${buildout:directory}/etc/logrotate.conf
input = inline:
${buildout:directory}/var/log/instance*.log ${buildout:directory}/var/log/supervisord*.log ${buildout:directory}/var/log/memmon*.log ${buildout:directory}/var/log/zeo*.log {
rotate 4
weekly
create
copytruncate
compress
compresscmd /bin/bzip2
compressext .bz2
missingok
maxage 30
sharedscripts
postrotate
for pids in $(ls ${buildout:directory}/*.pid); do /bin/kill -USR2 $(cat "$pids"); done
endscript
}
[logrotate-diario]
recipe = z3c.recipe.usercrontab
times = 0 6 * * *
command = /usr/sbin/logrotate --state ${buildout:directory}/var/logrotate.status ${logrotate:output}
[zeo]
recipe = plone.recipe.zeoserver
zeo-address = ${hosts:zeoserver}:${ports:zeoserver}
blob-storage = ${zeo:zeo-var}/blobstorage
zeo-var = ${buildout:directory}/var
eggs =
Zope2
ZODB3
plone.app.blob
tempstorage
zeo-conf-additional =
%import tempstorage
<temporarystorage temp>
name temporary storage for sessioning
</temporarystorage>
[instance]
recipe = plone.recipe.zope2instance
port-base = 0
event-log-level = ERROR
z2-log-level = CRITICAL
deprecation-warnings = off
verbose-security = off
debug-mode = off
user = admin:admin
http-address = ${hosts:instance}:${ports:instance}
zodb-cache-size = 30000
security-policy-implementation = C
zserver-threads = 1
zeo-client-cache-size = 1024MB
zeo-client = on
zeo-address = ${zeo:zeo-address}
blob-storage = ${zeo:blob-storage}
shared-blob = on
environment-vars =
CHAMELEON_CACHE ${buildout:directory}/var/chameleon-cache
CHAMELEON_DEBUG false
CHAMELEON_RELOAD true
CHAMELEON_EAGER true
PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
PTS_LANGUAGES en pt-br
zope_i18n_allowed_languages en pt_BR
zope_i18n_compile_mo_files true
TEMP ${buildout:directory}/tmp
TMP ${buildout:directory}/tmp
zodb-temporary-storage =
<zodb_db temporary>
mount-point /temp_folder
cache-size 10000
container-class Products.TemporaryFolder.TemporaryContainer
<zeoclient>
server ${zeo:zeo-address}
storage temp
var ${buildout:directory}/var/filestorage
cache-size 1024MB
</zeoclient>
</zodb_db>
eggs =
${buildout:eggs}
zcml =
${buildout:zcml}
[instance1]
<=instance
port-base = 1
[plonesite]
recipe = collective.recipe.plonesite
site-id = Plone
site-replace = false
default-language = pt-br
zeoserver = zeo