From f4d7f3dadd0340ba8a254a5dc8c833b2cdc687cf Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 6 Mar 2023 22:54:08 +0100 Subject: [PATCH] - leave .pid and .sock paths at defaults --- rrdcached.init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 } -- 2.46.0