summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a673b0)
raw | patch | inline | side by side (parent: 5a673b0)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 10 Oct 2008 05:19:06 +0000 (05:19 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 10 Oct 2008 05:19:06 +0000 (05:19 +0000) |
- 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
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
program/etc/rrdcached-default | patch | blob | history | |
program/etc/rrdcached-init | patch | blob | history |
index 10e166fd2b006b57ec0d27738f599410916c0197..d8d4d5973774ef212d892cf60b778cb169697404 100644 (file)
RUN_RRDCACHED=0
-RRDCACHED_USER="nobody"
+RRDCACHED_USER="rrdcached"
OPTS="-w 300 -z 300"
index cbfbba1a49129d0851a1de4af4b3828353e04d5a..0748cb1aa38f2fbeab40c31a67d36a23a6f76bf2 100644 (file)
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