Skip to content
Snippets Groups Projects
Commit 6ddd9da5 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/ospd-openvas: updated init

parent e114f3ef
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,12 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-openvas
pkgver=1.0.1
pkgrel=0
pkgrel=1
pkgdesc="ospd-openvas is an OSP server implementation to allow GVM to remotely control an OpenVAS Scanner"
url="https://github.com/greenbone/ospd-openvas"
arch="noarch"
license="GPL-2.0"
depends="ospd py3-psutil py3-redis py3-setuptools"
depends="py3-psutil py3-redis py3-setuptools ospd"
subpackages="$pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/ospd-openvas/archive/v$pkgver.tar.gz
$pkgname.initd
......@@ -29,6 +29,6 @@ package() {
}
sha512sums="bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87 ospd-openvas-1.0.1.tar.gz
85d69018f447d714363759d488ef378e5e3cedd07c51c675a33728afc73d02c4e3fe7a1aec8a2c20c619619cfeec19d7f636301821f694271c06cd09de585b4a ospd-openvas.initd
7978af16912fcdc3f42145e9736f2768eda8b1214463dc6839eb1f6d67805bcf4267943334b0b05e5be8ec1645bad2b0fdab88dc6038f47d1b75e23bb15abcdf ospd-openvas.initd
ef07f02c3900ee431785b2c2e53f04f4fd114f502526ec509c869dcd3a95e4284fc65f05f5ec85280cc05a29a46fba9c74ef3b0b0d618b9c9c1e62d9bb3fc6fa ospd-openvas.confd
12c9aad78ec0244ff1575563f73fbb8e1def08d5fa71bf69a105a491e6cdb47d1868833168b35d903bb2a94e5e81c32601118130ebdfb8c596721a3c9f3ccabd ospd.conf"
......@@ -4,15 +4,16 @@
name="remotely control an OpenVAS Scanner"
command="/usr/bin/ospd-openvas"
pidfile="/run/${RC_SVCNAME}.pid"
command_args="${OSPD_OPENVAS_OPTIONS} \
${OSPD_OPENVAS_UNIX_SOCKET} \
${OSPD_OPENVAS_SOCKET_MODE} \
--config /etc/openvas/ospd.conf"
${OSPD_OPENVAS_UNIX_SOCKET} \
${OSPD_OPENVAS_SOCKET_MODE} \
--pid-file ${pidfile} \
--config /etc/openvas/ospd.conf"
pidfile="/run/ospd-openvas.pid"
command_background="true"
depend() {
after bootmisc
need localmount redis
after bootmisc
need localmount redis
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment