aboutsummaryrefslogtreecommitdiffstats
path: root/community/gvmd/gvmd.initd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-04-06 16:50:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-06 17:19:56 +0000
commitf36ad29e855f25efc020e1e83922a7462fefd147 (patch)
tree9dee421f644fbfae0800a5c645c552b3b93e3fab /community/gvmd/gvmd.initd
parent6beec712cebc7f39e7795193d74f6aaf67265b52 (diff)
downloadaports-f36ad29e855f25efc020e1e83922a7462fefd147.tar.bz2
aports-f36ad29e855f25efc020e1e83922a7462fefd147.tar.xz
community/gvmd: upgrade to 8.0.0, renamed from gvm
Diffstat (limited to 'community/gvmd/gvmd.initd')
-rw-r--r--community/gvmd/gvmd.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/gvmd/gvmd.initd b/community/gvmd/gvmd.initd
new file mode 100644
index 0000000000..021f7937ad
--- /dev/null
+++ b/community/gvmd/gvmd.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="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
+}
+