aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-manager/openvasmd.initd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 10:01:14 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:24:37 +0000
commitd456651d95aefa62c7b38d7af4a105ebb66f279c (patch)
tree421d8e21a6dde3ffb93daffccd8cf793351859fb /community/openvas-manager/openvasmd.initd
parentb9ed44f9585b23b8ed7a0d4dbc3ddd8f35094af9 (diff)
downloadaports-d456651d95aefa62c7b38d7af4a105ebb66f279c.tar.bz2
aports-d456651d95aefa62c7b38d7af4a105ebb66f279c.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 000000000..d0045d5b2
--- /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
+}
+