add copytruncate to logrotate config to keep an empty logfile

This commit is contained in:
Robert Kaussow 2019-02-05 23:41:07 +01:00
parent e2af7628da
commit 2551bc205c
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
{% for option in item.options %}
{{ option }}
{% endfor %}
copytruncate
postrotate
/usr/bin/pkill -HUP rsyslogd
endscript