summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/gvmd/files/gvmd.init')
-rw-r--r--net-analyzer/gvmd/files/gvmd.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/gvmd/files/gvmd.init b/net-analyzer/gvmd/files/gvmd.init
index 9686c9b5398e..098232afa1e5 100644
--- a/net-analyzer/gvmd/files/gvmd.init
+++ b/net-analyzer/gvmd/files/gvmd.init
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: ${GVMD_USER:=gvm}
@@ -8,7 +8,7 @@
name="Greenbone Vulnerability Manager"
command=/usr/bin/gvmd
-command_args="${GVMD_OPTIONS} ${GVMD_LISTEN_ADDRESS_TCP} ${GVMD_PORT} ${GVMD_SCANNER_HOST} ${GVMD_GNUTLS_PRIORITIES}"
+command_args="--foreground ${GVMD_OPTIONS} ${GVMD_LISTEN_ADDRESS_TCP} ${GVMD_PORT} ${GVMD_SCANNER_HOST} ${GVMD_GNUTLS_PRIORITIES}"
command_background="true"
command_user="${GVMD_USER}:${GVMD_GROUP}"
pidfile="/run/gvmd.pid"
@@ -16,7 +16,7 @@ retry="${GVMD_TIMEOUT}"
depend() {
after bootmisc
- need localmount net openvassd
+ need localmount net ospd-openvas
}
start_pre() {