diff options
Diffstat (limited to 'net-analyzer/gsad/files/gsad-22.init')
-rw-r--r-- | net-analyzer/gsad/files/gsad-22.init | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net-analyzer/gsad/files/gsad-22.init b/net-analyzer/gsad/files/gsad-22.init index 9a93713bd591..f416990b19a4 100644 --- a/net-analyzer/gsad/files/gsad-22.init +++ b/net-analyzer/gsad/files/gsad-22.init @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 : ${GSAD_USER:=gvm} @@ -8,10 +8,8 @@ name="Greenbone Security Assistant (GSA)" command="/usr/bin/gsad" -command_args="--foreground ${GSAD_OPTIONS} ${GSAD_LISTEN_ADDRESS} ${GSAD_LISTEN_PORT} ${GVMD_LISTEN_ADDRESS} ${GVMD_LISTEN_PORT} ${GSAD_GNUTLS_PRIORITIES}" -command_background="true" command_user="${GSAD_USER}:${GSAD_GROUP}" -pidfile="/run/gsad/gsad.pid" +command_args="${GSAD_OPTIONS} ${GSAD_LISTEN_ADDRESS} ${GSAD_LISTEN_PORT} ${GVMD_LISTEN_ADDRESS} ${GVMD_LISTEN_PORT} ${GSAD_GNUTLS_PRIORITIES}" retry="${GSAD_TIMEOUT}" depend() { @@ -20,5 +18,5 @@ depend() { } start_pre() { - checkpath -d /run/gsad + checkpath -d --owner ${GSAD_USER} /var/run/gsad } |