summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2021-12-29 11:18:13 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2021-12-29 11:18:13 -0600
commit29c0f4abdb1bd2638c84c0b946af174326f7d3dd (patch)
treef662ba969129d1800c6e2639aca132905837e36c /net-analyzer/icinga2/icinga2-9999.ebuild
parentwww-apps/icingaweb2: manage group of icingaweb2 icingacli (diff)
downloadgentoo-29c0f4abdb1bd2638c84c0b946af174326f7d3dd.tar.gz
gentoo-29c0f4abdb1bd2638c84c0b946af174326f7d3dd.tar.bz2
gentoo-29c0f4abdb1bd2638c84c0b946af174326f7d3dd.zip
net-analyzer/icinga2: update fowners to work with the install wizard
Bug: https://bugs.gentoo.org/830228 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-analyzer/icinga2/icinga2-9999.ebuild')
-rw-r--r--net-analyzer/icinga2/icinga2-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild b/net-analyzer/icinga2/icinga2-9999.ebuild
index b2d610c7c413..da2f2e0ac156 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-9999.ebuild
@@ -105,11 +105,13 @@ src_install() {
rm -r "${D}/run" || die "failed to remove /run"
rm -r "${D}/var/cache" || die "failed to remove /var/cache"
- fowners root:icinga /etc/icinga2
+ fowners -R icinga:icinga /etc/icinga2
fperms 0750 /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
- fowners icinga:icinga /var/spool/icinga2
fowners -R icinga:icingacmd /var/lib/icinga2/api
+ fowners -R icinga:icingacmd /var/lib/icinga2/certificate-requests
+ fowners -R icinga:icingacmd /var/lib/icinga2/certs
+ fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2