- 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
RUN_RRDCACHED=0
-RRDCACHED_USER="nobody"
+RRDCACHED_USER="rrdcached"
OPTS="-w 300 -z 300"
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