From c542598ca54c7176a8297d1910189f2e12bb39f2 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 10 Oct 2008 05:19:06 +0000 Subject: [PATCH] This patch does two things: - remove the --pidfile check, for compatibility with older RHEL/Centos systems - update the username used by the init script, to remain consistent with Bernard's changes to the spec file -- Daniel.Pocock git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1593 a5681a0c-68f1-0310-ab6d-d61299d08faa --- etc/rrdcached-default | 2 +- etc/rrdcached-init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rrdcached-default b/etc/rrdcached-default index 10e166f..d8d4d59 100644 --- a/etc/rrdcached-default +++ b/etc/rrdcached-default @@ -1,7 +1,7 @@ RUN_RRDCACHED=0 -RRDCACHED_USER="nobody" +RRDCACHED_USER="rrdcached" OPTS="-w 300 -z 300" diff --git a/etc/rrdcached-init b/etc/rrdcached-init index cbfbba1..0748cb1 100644 --- a/etc/rrdcached-init +++ b/etc/rrdcached-init @@ -23,7 +23,7 @@ case "$1" in echo -n "Starting rrdcached: " [ -f $RRDCACHED ] || exit 1 - daemon --user=$RRDCACHED_USER --pidfile=$PIDFILE \ + daemon --user=$RRDCACHED_USER \ $RRDCACHED $OPTS -p $PIDFILE -l $SOCKFILE RETVAL=$? echo -- 2.11.0