Commit cee135cb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

stack/logrotate: use endscript instead of { ... } in prerotate and postrotate.

parent c9a3ff91
......@@ -19,7 +19,7 @@ md5sum = 67954c82a8030e5dcac3a8c5d115f624
[logrotate-entry-template]
filename = logrotate_entry.in
md5sum = 71462fcd0a97b3ccc7b6ac6af6b2ca1e
md5sum = 117e46af6d9d31c09eeb86089d11407e
[template-logrotate-base]
filename = instance-logrotate-base.cfg.in
......
......@@ -10,10 +10,10 @@
create
olddir {{ backup }}
missingok
{% if pre %}prerotate {
{% if pre %}prerotate
{{ pre }}
}{% endif %}
{% if post %}postrotate {
endscript{% endif %}
{% if post %}postrotate
{{ post }}
}{% endif %}
endscript{% 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