delaycompress
notifempty
sharedscripts
- postrotate
- if service netdata status > /dev/null ; then \
- service netdata restart > /dev/null; \
- fi;
- endscript
+ #
+ # if you add netdata to your init.d/system.d
+ # comment su & copytruncate and uncomment postrotate
+ # to have netdata restart when logs are rotated
+ create 0640 netdata netdata
+ copytruncate
+ #
+ #postrotate
+ # /sbin/service netdata try-restart >/dev/null
+ #endscript
}
-