add copytruncate to logrotate config to keep an empty logfile
This commit is contained in:
parent
e2af7628da
commit
2551bc205c
|
@ -4,6 +4,7 @@
|
|||
{% for option in item.options %}
|
||||
{{ option }}
|
||||
{% endfor %}
|
||||
copytruncate
|
||||
postrotate
|
||||
/usr/bin/pkill -HUP rsyslogd
|
||||
endscript
|
||||
|
|
Loading…
Reference in New Issue