]> arthur.barton.de Git - netdata.git/blob - system/netdata.logrotate.in
08f56e754e2f935dcc3651d8acbb3ba57c0fa21e
[netdata.git] / system / netdata.logrotate.in
1 @localstatedir_POST@/log/netdata/*.log {
2         su netdata netdata
3         daily
4         missingok
5         rotate 14
6         compress
7         delaycompress
8         notifempty
9         sharedscripts
10         postrotate
11                 /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
12         endscript
13 }