blob: a7de3800adacc8cbaff40886ed65d31415ba5237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
}
|