summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/netdata.logrotate6
1 files changed, 1 insertions, 5 deletions
diff --git a/debian/netdata.logrotate b/debian/netdata.logrotate
index 8290a2b59..71792f674 100644
--- a/debian/netdata.logrotate
+++ b/debian/netdata.logrotate
@@ -8,10 +8,6 @@
rotate 14
sharedscripts
postrotate
- if service netdata status > /dev/null ; then \
- service netdata restart > /dev/null; \
- fi;
+ /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
endscript
}
-
-