summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2016-05-23 11:51:23 +0300
committerElan Ruusamäe <glen@delfi.ee>2016-05-23 11:51:23 +0300
commit3cc72f09e9d18b6c2173cd54df7e83662fbf36e8 (patch)
tree3ff046665aba87e67a22e22c44b4258e1f62482c /system/netdata.logrotate.in
parentd095ec21547be6acf25d1ea707efca0c8cb75d45 (diff)
use try-restart in logrotate sample
now that #440 is merged, can use try-restart action
Diffstat (limited to 'system/netdata.logrotate.in')
-rw-r--r--system/netdata.logrotate.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/netdata.logrotate.in b/system/netdata.logrotate.in
index e77d5ff72b..5c1e19d56c 100644
--- a/system/netdata.logrotate.in
+++ b/system/netdata.logrotate.in
@@ -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
}