From: Marcin Krol Date: Mon, 6 Mar 2023 21:54:08 +0000 (+0100) Subject: - leave .pid and .sock paths at defaults X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=f4d7f3dadd0340ba8a254a5dc8c833b2cdc687cf;p=packages%2Frrdtool.git - leave .pid and .sock paths at defaults --- diff --git a/rrdcached.init b/rrdcached.init index 3cf1417..36d1d9a 100644 --- a/rrdcached.init +++ b/rrdcached.init @@ -16,8 +16,6 @@ RRDCACHED_WRITE_TIMEOUT=${RRDCACHED_WRITE_TIMEOUT:-300} RRDCACHED_WRITE_DELAY=${RRDCACHED_WRITE_DELAY:-180} RRDCACHED_WRITE_THREADS=${RRDCACHED_WRITE_THREADS:-4} -RRDCACHED_PID_FILE="/var/run/rrdcached.pid" -RRDCACHED_SOCKET="/var/run/rrdcached.sock" start() { # Check if the service is already running? @@ -27,7 +25,7 @@ start() { fi msg_starting "rrdcached" - daemon /usr/bin/rrdcached -m 0660 -w ${RRDCACHED_WRITE_TIMEOUT} -z ${RRDCACHED_WRITE_DELAY} -t ${RRDCACHED_WRITE_THREADS} -p ${RRDCACHED_PID_FILE} -l ${RRDCACHED_SOCKET} + daemon /usr/bin/rrdcached -m 0660 -w ${RRDCACHED_WRITE_TIMEOUT} -z ${RRDCACHED_WRITE_DELAY} -t ${RRDCACHED_WRITE_THREADS} RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/rrdcached }