From 1bd9fd6c7b06ca47f9930b12fe53283ad2156fbd Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 6 Mar 2023 23:07:43 +0100 Subject: [PATCH] - run as uid/gid rrdcached, set group for unix socket --- rrdcached.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrdcached.init b/rrdcached.init index 36d1d9a..a444438 100644 --- a/rrdcached.init +++ b/rrdcached.init @@ -25,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} + daemon /usr/bin/rrdcached -U rrdcached -G rrdcached -s 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