Commit 94f0c365 authored by Julien Muchembled's avatar Julien Muchembled

ERP5: fix logrotate for zopes using a NEO DB

This is a follow-up of commit 6f009a9f
parent 502f6692
...@@ -324,7 +324,7 @@ md5sum = 985c0010db6b553a89dbdb31353c56f5 ...@@ -324,7 +324,7 @@ md5sum = 985c0010db6b553a89dbdb31353c56f5
[template-zope] [template-zope]
<= download-base <= download-base
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = 0cd033da89a79c5b26dc0342ea57d5f7 md5sum = a842e8c15fa70a8e95dfd60bb1b05b26
link-binary = link-binary =
${aspell:location}/bin/aspell ${aspell:location}/bin/aspell
${dmtx-utils:location}/bin/dmtxwrite ${dmtx-utils:location}/bin/dmtxwrite
......
...@@ -285,7 +285,7 @@ node-id = {{ dumps(node_id_base ~ '-' ~ index) }} ...@@ -285,7 +285,7 @@ node-id = {{ dumps(node_id_base ~ '-' ~ index) }}
{% for db_name, zodb in zodb_dict.iteritems() -%} {% for db_name, zodb in zodb_dict.iteritems() -%}
{% if zodb['type'] == 'neo' -%} {% if zodb['type'] == 'neo' -%}
{% do import_set.add('neo.client') -%} {% do import_set.add('neo.client') -%}
{% set log = '~/var/log/' ~ name ~ '-neo-' ~ db_name ~ '.log' -%} {% set log = '${directory:log}/' ~ name ~ '-neo-' ~ db_name ~ '.log' -%}
{% do log_list.append(log) -%} {% do log_list.append(log) -%}
{% do zodb['storage-dict'].update(logfile=log) -%} {% do zodb['storage-dict'].update(logfile=log) -%}
{% endif -%} {% endif -%}
......
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