summaryrefslogtreecommitdiff
path: root/net-analyzer/openvas-scanner/files/openvassd.init
blob: 9bd7332134fc0bd7e8d84fae1cdeaa576b8cb9fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

name="Open Vulnerability Assessment Scanner"
command="/usr/bin/openvassd"
command_args="${OPENVAS_SCANNER_OPTIONS} ${OPENVAS_SCANNER_LISTEN_SOCKET} ${OPENVAS_SCANNER_LISTEN_OWNER} ${OPENVAS_SCANNER_LISTEN_GROUP} ${OPENVAS_SCANNER_LISTEN_MODE}"
pidfile="/run/openvassd.pid"
command_background="true"

depend() {
	after bootmisc
	need localmount net redis
}