aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-manager/openvasmd.initd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 11:59:04 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 11:59:48 +0000
commit0977a30ac83e81c7cbbbefbf41307ad75d7b7787 (patch)
treee6b29000e0d4b875fd5307bffc0ad065a9e58f2c /community/openvas-manager/openvasmd.initd
parent3bc8f4ab96a4d4d196c40d6fab40367396d3f17b (diff)
downloadaports-0977a30ac83e81c7cbbbefbf41307ad75d7b7787.tar.bz2
aports-0977a30ac83e81c7cbbbefbf41307ad75d7b7787.tar.xz
community/openvas-manager: moved from testing
Diffstat (limited to 'community/openvas-manager/openvasmd.initd')
-rw-r--r--community/openvas-manager/openvasmd.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/openvas-manager/openvasmd.initd b/community/openvas-manager/openvasmd.initd
new file mode 100644
index 0000000000..d0045d5b2e
--- /dev/null
+++ b/community/openvas-manager/openvasmd.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+name="OpenVAS Manager"
+command=/usr/bin/openvasmd
+command_args="${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_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
+}
+