Fix the issue that generate.cloudooo recipe does not work
[slapos.git] / software / erp5 / snippet-zope.cfg
1 [%(zope_id)s]
2 recipe = slapos.cookbook:generic.zope.zeo.client
3
4 # XXX: products won't be needed as soon as all ERP5 (and products-deps)
5 # products will be eggified so then it will be possible to use them thanks to
6 # availability in software's eggs
7 products = ${products:list}
8
9 # Options
10 user = zope
11 port = %(zope_port)s
12 ip = $${slap-network-information:local-ipv4}
13 thread-amount = %(zope_thread_amount)s
14 deadlock-path = /manage_debug_threads
15 timezone = %(timezone)s
16 zeo-connection-string =
17   %(zeo_connection_string)s
18
19 timeserver = %(zope_timeserver)s
20
21 # Paths
22 wrapper = $${basedirectory:services}/%(zope_id)s
23 instance-path = $${directory:instance}
24 instance-etc = $${directory:instance-etc}
25 instance-products = $${directory:instance-products}
26 bt5-repository = $${rootdirectory:var}/bt5_repository
27 tmp-path = $${rootdirectory:tmp}
28 bin-path = $${rootdirectory:bin}
29 site-zcml = $${:instance-etc}/site.zcml
30 pid-file = $${basedirectory:run}/%(zope_id)s.pid
31 lock-file = $${basedirectory:run}/%(zope_id)s.lock
32 event-log = $${basedirectory:log}/%(zope_id)s-event.log
33 z2-log = $${basedirectory:log}/%(zope_id)s-Z2.log
34 configuration-file = $${rootdirectory:etc}/%(zope_id)s.conf
35 inituser = $${:instance-path}/inituser
36 # Binary information
37 runzope-binary = ${buildout:bin-directory}/runzope
38
39 # BT5 Configuration
40 bt5-repository-list =
41
42 [logrotate-entry-%(zope_id)s]
43 <= logrotate
44 recipe = slapos.cookbook:logrotate.d
45 name = %(zope_id)s
46 log = $${%(zope_id)s:event-log} $${%(zope_id)s:z2-log}
47 post = ${buildout:bin-directory}/killpidfromfile $${%(zope_id)s:pid-file} SIGUSR2