mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
net-analyzer/ospd-openvas: fix systemd service and conf location
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
+7
-2
@@ -39,6 +39,9 @@ src_prepare() {
|
||||
|
||||
# https://github.com/greenbone/ospd-openvas/pull/649
|
||||
sed -i '/^Group=gvm/d' config/ospd-openvas.service || die
|
||||
|
||||
# https://github.com/greenbone/ospd-openvas/pull/653
|
||||
sed -i 's;/usr/local/bin/;/usr/bin/;' config/ospd-openvas.service || die
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
@@ -54,9 +57,11 @@ python_install() {
|
||||
|
||||
dodoc "${FILESDIR}"/redis.conf.example
|
||||
|
||||
insinto /etc/openvas
|
||||
insinto /etc/gvm
|
||||
doins config/${PN}.conf
|
||||
fowners -R gvm:gvm /etc/openvas
|
||||
if ! use prefix; then
|
||||
fowners -R gvm:gvm /etc/gvm
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
Reference in New Issue
Block a user