summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/openvas-scanner/files/redis-openvas.initd')
-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