You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/openvas-manager/files/gvmd.init

19 lines
549 B

#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="OpenVAS Manager"
command=/usr/sbin/openvasmd
command_args="${OPENVAS_MANAGER_OPTIONS} ${OPENVAS_MANAGER_PORT} ${OPENVAS_MANAGER_LISTEN_ADDRESS} ${OPENVAS_MANAGER_SCANNER_HOST} ${OPENVAS_MANAGER_GNUTLS_PRIORITIES}"
pidfile="/var/run/openvasmd.pid"
command_background="true"
depend() {
after bootmisc
need localmount net openvas-scanner
}
start_pre() {
checkpath --directory --mode 0775 --quiet /var/cache/openvas
}