summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 313ceb0)
raw | patch | inline | side by side (parent: 313ceb0)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 10 Oct 2008 05:21:19 +0000 (05:21 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 10 Oct 2008 05:21:19 +0000 (05:21 +0000) |
pid file. Apparently this is necessary if RRDCACHED_USER is not the
default "rrdcached".
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1595 a5681a0c-68f1-0310-ab6d-d61299d08faa
default "rrdcached".
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1595 a5681a0c-68f1-0310-ab6d-d61299d08faa
etc/rrdcached-init | patch | blob | history |
diff --git a/etc/rrdcached-init b/etc/rrdcached-init
index 0748cb1aa38f2fbeab40c31a67d36a23a6f76bf2..45b5cdf7d8ecdf5035871f522478c937cbb36711 100644 (file)
--- a/etc/rrdcached-init
+++ b/etc/rrdcached-init
killproc rrdcached
RETVAL=$?
echo
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/rrdcached
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/rrdcached && rm -rf $PIDFILE
;;
restart|reload)