Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
slapos
Commits
a0e1be59
Commit
a0e1be59
authored
Oct 19, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start to fill template keys for zope (WIP)
parent
7fc9f3b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
16 deletions
+13
-16
software/erp5/snippet-zope.cfg
software/erp5/snippet-zope.cfg
+12
-15
software/erp5/software.cfg
software/erp5/software.cfg
+1
-1
No files found.
software/erp5/snippet-zope.cfg
View file @
a0e1be59
...
...
@@ -22,7 +22,7 @@ cert-file = $${apache-zope-backend-instance:cert-file}
executable = $${apache-zope-backend-instance:wrapper}
wrapper = $${basedirectory:services}/apache
[
zope
-instance]
[
%(zope_id)s
-instance]
recipe = slapos.cookbook:generic.zope
# XXX: products won't be needed as soon as all ERP5 (and products-deps)
...
...
@@ -32,15 +32,13 @@ products = ${products:list}
# Options
user = zope
port =
12001
port =
%(zope_port)s
ip = $${slap-network-information:local-ipv4}
zodb-cache-size = 5000
thread-amount = 4
zodb-path = $${directory:zodb}/main.cfg
thread-amount = %(zope_thread_amount)s
deadlock-path = /manage_debug_threads
# Paths
wrapper = $${basedirectory:services}/
zope_development
wrapper = $${basedirectory:services}/
%(zope_id)s
instance-path = $${directory:instance}
instance-etc = $${directory:instance-etc}
instance-products = $${directory:instance-products}
...
...
@@ -48,24 +46,23 @@ bt5-repository = $${rootdirectory:var}/bt5_repository
tmp-path = $${rootdirectory:tmp}
bin-path = $${rootdirectory:bin}
site-zcml = $${:instance-etc}/site.zcml
logrotate-post = $${rootdirectory:bin}/zope-post-logrotate
pid-file = $${basedirectory:run}/zope.pid
lock-file = $${basedirectory:run}/zope.lock
event-log = $${basedirectory:log}/zope-event.log
z2-log = $${basedirectory:log}/zope-Z2.log
configuration-file = $${rootdirectory:etc}/zope.conf
pid-file = $${basedirectory:run}/%(zope_id)s.pid
lock-file = $${basedirectory:run}/%(zope_id)s.lock
event-log = $${basedirectory:log}/%(zope_id)s-event.log
z2-log = $${basedirectory:log}/%(zope_id)s-Z2.log
configuration-file = $${rootdirectory:etc}/%(zope_id)s.conf
inituser = $${:instance-path}/inituser
# Binary information
runzope-binary = ${buildout:bin-directory}/runzope
[logrotate-entry-
zope
]
[logrotate-entry-
%(zope_id)s
]
<= logrotate
recipe = slapos.cookbook:logrotate.d
name = zope
log = $${
zope-instance:event-log} $${zope-instance
:z2-log}
log = $${
%(zope_id)s-instance:event-log} $${%(zope_id)s-instances
:z2-log}
frequency = daily
rotate-num = 30
post = ${buildout:bin-directory}/killpidfromfile $${
zope
-instance:pid-file} SIGUSR2
post = ${buildout:bin-directory}/killpidfromfile $${
%(zope_id)s
-instance:pid-file} SIGUSR2
sharedscripts = true
notifempty = true
create = true
...
...
software/erp5/software.cfg
View file @
a0e1be59
...
...
@@ -103,7 +103,7 @@ mode = 0644
[template-snippet-zope]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/snippet-zope.cfg
md5sum =
16f8a2ed832e45515f1917c189a00802
md5sum =
8632c36a2dbed8bbabe123bfd2033b8a
output = ${buildout:directory}/template-snippet-zope.cfg
mode = 0644
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment