summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-10-16 09:30:50 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-10-16 09:36:25 +0200
commit35a9aa636793d4103a5c5f0b634c5c45dd3547a5 (patch)
treea3846f5d4d2ec7af39ef264586cd80e5d44a80c7 /net-analyzer/openvas-scanner
parentnet-analyzer/openvas-scanner: remove no-op sed (diff)
downloadgentoo-35a9aa636793d4103a5c5f0b634c5c45dd3547a5.tar.gz
gentoo-35a9aa636793d4103a5c5f0b634c5c45dd3547a5.tar.bz2
gentoo-35a9aa636793d4103a5c5f0b634c5c45dd3547a5.zip
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 <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/openvas-scanner')
-rw-r--r--net-analyzer/openvas-scanner/files/redis-openvas.initd4
1 files changed, 2 insertions, 2 deletions
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