aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant/gsad.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/greenbone-security-assistant/gsad.initd')
-rw-r--r--community/greenbone-security-assistant/gsad.initd16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/greenbone-security-assistant/gsad.initd b/community/greenbone-security-assistant/gsad.initd
new file mode 100644
index 0000000000..9655c7bf7f
--- /dev/null
+++ b/community/greenbone-security-assistant/gsad.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+#Copyright 2016 Alpine Linux
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command_args="${GSAD_LISTEN} ${MANAGER_LISTEN} ${MANAGER_PORT} ${GSAD_EXTRA_ARGS}"
+name="Greenbone Security Assistant (GSA)"
+command=/usr/bin/gsad
+
+pidfile="/run/gsad.pid"
+
+depend() {
+ after bootmisc
+ need net
+}
+