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".

Thanks,

Bernard
Index: etc/rrdcached-init
===================================================================
--- etc/rrdcached-init	(revision 1592)
+++ etc/rrdcached-init	(working copy)
@@ -36,7 +36,7 @@
       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)
_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to