From: oetiker Date: Fri, 10 Oct 2008 05:19:06 +0000 (+0000) Subject: This patch does two things: X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1685b6565186edf3d7fd72be145bbee7bb6da80c;p=rrdtool-all.git 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@1593 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/etc/rrdcached-default b/program/etc/rrdcached-default index 10e166fd..d8d4d597 100644 --- a/program/etc/rrdcached-default +++ b/program/etc/rrdcached-default @@ -1,7 +1,7 @@ RUN_RRDCACHED=0 -RRDCACHED_USER="nobody" +RRDCACHED_USER="rrdcached" OPTS="-w 300 -z 300" diff --git a/program/etc/rrdcached-init b/program/etc/rrdcached-init index cbfbba1a..0748cb1a 100644 --- a/program/etc/rrdcached-init +++ b/program/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