pentoo-overlay/net-analyzer/openvas-manager/files/openvasmd.init
2018-11-07 18:07:22 +08:00

17 lines
418 B
Text

#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
name="OpenVAS Manager"
command=/usr/sbin/openvasmd
command_args="${MANAGER_LISTEN} ${MANAGER_PORT} ${MANAGER_EXTRA_ARGS}"
pidfile="/run/openvasmd.pid"
depend() {
after bootmisc
need localmount net openvassd
}
start_pre() {
checkpath --directory --mode 0775 --quiet /var/cache/openvas
}