use SIGHUP for reopening log file

This commit is contained in:
john30
2017-01-15 12:37:01 +01:00
parent a1d3042945
commit b7c7ad9283
3 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
/var/log/ebusd.log {
/var/log/ebusd*.log {
rotate 7
size 1M
copytruncate
@@ -6,4 +6,6 @@
missingok
notifempty
daily
postrotate
/usr/bin/killall -HUP ebusd
}