aboutsummaryrefslogtreecommitdiffstats
path: root/community/gvmd/gvmd.initd
blob: 021f7937ad5a078e3243af89ae041d68e4e02e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

name="Greenbone Vulnerability Manager"
command=/usr/bin/gvmd
command_args="${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS}"
pidfile="/run/gvmd.pid"

depend() {
	after bootmisc
	need localmount net openvassd
}

start_pre() {
	checkpath --directory --mode 0775 --quiet /var/cache/openvas
}