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 %}
|
{% for option in item.options %}
|
||||||
{{ option }}
|
{{ option }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
copytruncate
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/pkill -HUP rsyslogd
|
/usr/bin/pkill -HUP rsyslogd
|
||||||
endscript
|
endscript
|
||||||
|
|
Loading…
Reference in New Issue