diff options
Diffstat (limited to 'net-analyzer/openvas-scanner/files/openvassd.init')
-rw-r--r-- | net-analyzer/openvas-scanner/files/openvassd.init | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net-analyzer/openvas-scanner/files/openvassd.init b/net-analyzer/openvas-scanner/files/openvassd.init index b6f4b99f4de9..f84dc3b7aa9c 100644 --- a/net-analyzer/openvas-scanner/files/openvassd.init +++ b/net-analyzer/openvas-scanner/files/openvassd.init @@ -5,8 +5,14 @@ name="OpenVAS Scanner" command="/usr/sbin/openvassd" -command_args="${SCANNER_LISTEN} ${SCANNER_PORT} ${SCANNER_SRCIP}" +command_args="${SCANNER_LISTEN} ${SCANNER_PORT} ${SCANNER_SRCIP} ${SCANNER_EXTRA_ARGS}" +pidfile="/run/openvassd.pid" depend() { - need net + after bootmisc + need localmount net +} + +start_pre() { + checkpath --directory --mode 0775 --quiet /var/cache/openvas } |