]> arthur.barton.de Git - netdata.git/blob - system/netdata.logrotate.in
added su to netdata in logrotate configuration; fixes #1456
[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 }