diff options
Diffstat (limited to 'community/gvmd/gvmd.initd')
-rw-r--r-- | community/gvmd/gvmd.initd | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/community/gvmd/gvmd.initd b/community/gvmd/gvmd.initd index 021f7937ad..72f2067e48 100644 --- a/community/gvmd/gvmd.initd +++ b/community/gvmd/gvmd.initd @@ -5,15 +5,17 @@ name="Greenbone Vulnerability Manager" command=/usr/bin/gvmd -command_args="${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS}" -pidfile="/run/gvmd.pid" +command_args="${GVMD_OPTIONS} ${GVMD_LISTEN_ADDRESS_TCP} ${GVMD_PORT} ${GVMD_SCANNER_HOST} ${GVMD_GNUTLS_PRIORITIES}" +command_user="gvm" +pidfile="/var/lib/gvm/${RC_SVCNAME}.pid" depend() { after bootmisc - need localmount net openvassd + need localmount net ospd-openvas } start_pre() { - checkpath --directory --mode 0775 --quiet /var/cache/openvas + checkpath --directory --owner $command_user:$command_user --mode 0775 \ + /var/lib/gvm } |