[rrd-developers] [patch] rrdcached init script and spec file

Bernard Li bernard at vanhpc.org
Wed Oct 8 22:12:52 CEST 2008


Hi Daniel:

On Wed, Oct 8, 2008 at 1:06 AM,  <Daniel.Pocock at barclayscapital.com> wrote:

> --pidfile checks if the process is already running - however, I believe
> such a check is made within the program as well, so it is probably not
> needed and can be dropped for backwards compatibility with RHEL4/Centos4
>
> When I added that argument, I was hoping that the daemon() function
> would also clean up stale PID files, but looking at the
> /etc/rc.d/init.d/functions code I can't see any evidence that it does
> so.  Therefore, cleaning up stale PID files needs to be done within
> rrdcached.

Sounds like we need a patch which removes the --pidfile argument and
also add some cleanup code for the PID file.

Thanks,

Bernard



More information about the rrd-developers mailing list