diff --git a/templates/etc_logrotate_d_netdata b/templates/etc_logrotate_d_netdata index 3ad220f2f9da015d5ad41fad8b31634142062b21..a762c6cb3af3599672ed598801e0f7c1dc4f7023 100644 --- a/templates/etc_logrotate_d_netdata +++ b/templates/etc_logrotate_d_netdata @@ -6,8 +6,7 @@ delaycompress notifempty sharedscripts - create 640 netdata netdata postrotate - /usr/sbin/service netdata restart >/dev/null + /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true endscript }