Disable ownership checking to execute codes generated by alarm.
[slapos.git] / slapos / recipe / generic_zope_zeo_client / template / zope.conf.in
1 ## Zope 2 configuration file generated by SlapOS
2
3 # Some defines
4 %%define INSTANCE %(instance)s
5 instancehome $INSTANCE
6
7 # Used products
8 %(products)s
9
10 # Environment is setup in running wrapper script
11 # Reason: zope.conf is read too late for some componets
12
13 # No need to debug
14 debug-mode off
15
16 # One thread is safe enough
17 zserver-threads %(thread_amount)s
18
19 # File location
20 pid-filename %(pid-filename)s
21 lock-filename %(lock-filename)s
22
23 # Encoding
24 rest-input-encoding utf-8
25 rest-output-encoding utf-8
26 default-zpublisher-encoding utf-8
27
28 # Disable ownership checking to execute codes generated by alarm
29 skip-ownership-checking on
30
31 # Temporary storage database (for sessions)
32 <zodb_db temporary>
33      <temporarystorage>
34        name temporary storage for sessioning
35      </temporarystorage>
36      mount-point /temp_folder
37      container-class Products.TemporaryFolder.TemporaryContainer
38 </zodb_db>
39
40 # Logging configuration
41 <eventlog>
42   level info
43   <logfile>
44     dateformat
45     path %(event_log)s
46   </logfile>
47 </eventlog>
48 <logger access>
49   level WARN
50   <logfile>
51     dateformat
52     path %(z2_log)s
53   </logfile>
54 </logger>
55
56 # Serving configuration
57 <http-server>
58   address %(address)s
59 </http-server>
60
61 # ZODB configuration
62 %(zodb_configuration)s
63
64 <zoperunner>
65     program $INSTANCE/bin/runzope
66 </zoperunner>
67
68 # DeadlockDebugger configuration
69 <product-config DeadlockDebugger>
70   dump_url %(dump_url)s
71   secret %(secret)s
72 </product-config>