Commit 5740bd29 authored by Łukasz Nowak's avatar Łukasz Nowak

Make logrotate entries unique per zope.

parent 8f8a3a1d
......@@ -37,6 +37,6 @@ runzope-binary = ${buildout:bin-directory}/runzope
[logrotate-entry-%(zope_id)s]
<= logrotate
recipe = slapos.cookbook:logrotate.d
name = zope
name = %(zope_id)s
log = $${%(zope_id)s:event-log} $${%(zope_id)s:z2-log}
post = ${buildout:bin-directory}/killpidfromfile $${%(zope_id)s:pid-file} SIGUSR2
......@@ -95,7 +95,7 @@ mode = 0644
[template-snippet-zope]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/snippet-zope.cfg
md5sum = ff7a17bd6b74471ab7060d77cba2453e
md5sum = 306cd42a965523e9d13b00208cb96e22
output = ${buildout:directory}/template-snippet-zope.cfg
mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment