From fe69ade916fb9dcc6d24297b86c667045e3b29a4 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 10 Oct 2008 05:21:19 +0000 Subject: [PATCH] This patch ensures that when rrdcached is stopped, it cleans up the 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@1595 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/etc/rrdcached-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/etc/rrdcached-init b/program/etc/rrdcached-init index 0748cb1a..45b5cdf7 100644 --- a/program/etc/rrdcached-init +++ b/program/etc/rrdcached-init @@ -36,7 +36,7 @@ case "$1" in 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) -- 2.30.2