blob: 5c1e19d56c45c8b8f754359f8821b7bc1c553a75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
@localstatedir_POST@/log/netdata/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
sharedscripts
#
# if you add netdata to your init.d/system.d
# comment su & copytruncate and uncomment postrotate
# to have netdata restart when logs are rotated
su netdata
copytruncate
#
#postrotate
# /sbin/service netdata try-restart >/dev/null
#endscript
}
|