summaryrefslogtreecommitdiff
path: root/package/rrdcollect/files/rrdcollect.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/rrdcollect/files/rrdcollect.init')
-rw-r--r--package/rrdcollect/files/rrdcollect.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rrdcollect/files/rrdcollect.init b/package/rrdcollect/files/rrdcollect.init
index 478150e90..d5b0e6790 100644
--- a/package/rrdcollect/files/rrdcollect.init
+++ b/package/rrdcollect/files/rrdcollect.init
@@ -12,10 +12,10 @@ autostart)
;;
start)
[ -d /var/lib/rrdcollect ] || mkdir -p /var/lib/rrdcollect
- rrdcollect
+ /usr/sbin/rrdcollect
;;
stop)
- pkill rrdcollect
+ kill $(pgrep -f /usr/sbin/rrdcollect)
;;
restart)
sh $0 stop