]> TLD Linux GIT Repositories - packages/rrdtool.git/commitdiff
- leave .pid and .sock paths at defaults
authorMarcin Krol <hawk@tld-linux.org>
Mon, 6 Mar 2023 21:54:08 +0000 (22:54 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 6 Mar 2023 21:54:08 +0000 (22:54 +0100)
rrdcached.init

index 3cf141799c8337c8c483462a30ad33526b719181..36d1d9ae5934f9c877996c2e236e4e41b657868e 100644 (file)
@@ -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
 }