From 35a9aa636793d4103a5c5f0b634c5c45dd3547a5 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 16 Oct 2023 09:30:50 +0200 Subject: net-analyzer/openvas-scanner: fix unnecessary usage of --chdir * OPENRC: unnecessary usage of start_stop_daemon_args found: * redis-openvas: --chdir should be replaced with directory="/var/lib/openvas/redis" Signed-off-by: Florian Schmaus --- net-analyzer/openvas-scanner/files/redis-openvas.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/openvas-scanner/files/redis-openvas.initd b/net-analyzer/openvas-scanner/files/redis-openvas.initd index 058d99d063dc..0841942eac6d 100644 --- a/net-analyzer/openvas-scanner/files/redis-openvas.initd +++ b/net-analyzer/openvas-scanner/files/redis-openvas.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2023 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 : ${REDIS_DIR:=/var/lib/openvas/redis} @@ -17,7 +17,7 @@ command_background="true" command_user="${REDIS_USER}:${REDIS_GROUP}" pidfile="/run/${RC_SVCNAME}/redis-server.pid" retry="${REDIS_TIMEOUT}" -start_stop_daemon_args="--chdir \"${REDIS_DIR}\"" +directory="${REDIS_DIR}" start_post() { checkpath -f --mode 0644 --owner ${REDIS_USER}:${REDIS_GROUP} /var/log/gvm/openvas.log -- cgit v1.2.3-65-gdbad