]> arthur.barton.de Git - netdata.git/blobdiff - system/netdata.logrotate.in
use try-restart in logrotate sample
[netdata.git] / system / netdata.logrotate.in
index e77d5ff72bf0b3bc289c32ed67f4ec97020bd47a..5c1e19d56c45c8b8f754359f8821b7bc1c553a75 100644 (file)
@@ -14,8 +14,6 @@
        copytruncate
        #
        #postrotate
-       #       if service netdata status > /dev/null ; then \
-       #               service netdata restart > /dev/null; \
-       #       fi;
+       #       /sbin/service netdata try-restart >/dev/null
        #endscript
 }