diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
commit | 0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch) | |
tree | 8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/collectd | |
parent | 845317b460ee99ad633534cad4de72404af7e30b (diff) |
fix startup scripts, fix stop routine
Diffstat (limited to 'package/collectd')
-rw-r--r-- | package/collectd/files/collectd.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/collectd/files/collectd.init b/package/collectd/files/collectd.init index 468c6fa11..ce1905d91 100644 --- a/package/collectd/files/collectd.init +++ b/package/collectd/files/collectd.init @@ -11,10 +11,10 @@ autostart) ;; start) [ -d /var/lib/collectd ] || mkdir -p /var/lib/collectd - collectd + /usr/sbin/collectd ;; stop) - pkill collectd + kill $(pgrep -f /usr/sbin/collectd) ;; restart) sh $0 stop |