Add netdata logrotate.d config.
This commit is contained in:
parent
0db4061039
commit
0569601054
1 changed files with 6 additions and 0 deletions
6
base-files/logrotate.d/netdata
Normal file
6
base-files/logrotate.d/netdata
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
/var/log/netdata/error.log /var/log/netdata/debug.log {
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
[ -x /etc/rc.d/rc.netdata ] && /etc/rc.d/rc.netdata restart >/dev/null 2>&1 || true
|
||||||
|
endscript
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue