aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-openvas/ospd-openvas.initd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-10-21 16:31:18 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-10-21 20:01:23 +0000
commit359d30ae8a1c64704634045f8bc27ef4b348a143 (patch)
tree6df7e21b71931a6630564dd1d8c9067e7f3252d2 /community/ospd-openvas/ospd-openvas.initd
parent9e8139a9333ca4fa0b3d42e4854cb4c526a185e6 (diff)
downloadaports-359d30ae8a1c64704634045f8bc27ef4b348a143.tar.gz
aports-359d30ae8a1c64704634045f8bc27ef4b348a143.tar.bz2
aports-359d30ae8a1c64704634045f8bc27ef4b348a143.tar.xz
community/ospd-openvas: new aport, dependency of gvmd
Diffstat (limited to 'community/ospd-openvas/ospd-openvas.initd')
-rw-r--r--community/ospd-openvas/ospd-openvas.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/ospd-openvas/ospd-openvas.initd b/community/ospd-openvas/ospd-openvas.initd
new file mode 100644
index 0000000000..cb38afae10
--- /dev/null
+++ b/community/ospd-openvas/ospd-openvas.initd
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="remotely control an OpenVAS Scanner"
+command="/usr/bin/ospd-openvas"
+command_args="${OSPD_OPENVAS_OPTIONS} \
+ ${OSPD_OPENVAS_UNIX_SOCKET} \
+ ${OSPD_OPENVAS_SOCKET_MODE} \
+ --config /etc/openvas/ospd.conf"
+
+pidfile="/run/ospd-openvas.pid"
+command_background="true"
+
+depend() {
+ after bootmisc
+ need localmount redis
+}