aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-openvas/ospd-openvas.initd
blob: cb38afae10f56abebb8cec5e3de58c6de9805998 (plain) (blame)
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="remotely control an OpenVAS Scanner"
command="/usr/bin/ospd-openvas"
command_args="${OSPD_OPENVAS_OPTIONS} \
	${OSPD_OPENVAS_UNIX_SOCKET} \
	${OSPD_OPENVAS_SOCKET_MODE} \
	--config /etc/openvas/ospd.conf"

pidfile="/run/ospd-openvas.pid"
command_background="true"

depend() {
	after bootmisc
	need localmount redis
}