@cryptotaxi247 / netdata-1 / commits / 3cc72f09e

use try-restart in logrotate sample

now that #440 is merged, can use try-restart action

Elan Ruusamäe committed May 23, 2016 at 11:51 UTC 3cc72f09e9d18b6c2173cd54df7e83662fbf36e8
1 file changed +1 -3
system/netdata.logrotate.in
+1 -3
@@ -14,8 +14,6 @@
14 copytruncate
15 #
16 #postrotate
17 - # if service netdata status > /dev/null ; then \
18 - # service netdata restart > /dev/null; \
19 - # fi;
17 + # /sbin/service netdata try-restart >/dev/null
18 #endscript
19 }