commit: fe8651068ff3f480703cb4262a36208948846873
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 17:37:06 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 17:37:21 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe865106
net-analyzer/icinga2: switch to /run more completely
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-analyzer/icinga2/icinga2-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild
b/net-analyzer/icinga2/icinga2-9999.ebuild
index 31e997e9e6a..39558b4834e 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-9999.ebuild
@@ -70,6 +70,7 @@ src_configure() {
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_GROUP=icingacmd
+ -DICINGA2_RUNDIR=/run
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
-DUSE_SYSTEMD=$(usex systemd ON OFF)
-DLOGROTATE_HAS_SU=ON
@@ -135,7 +136,7 @@ src_install() {
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
- rm -r "${D}/var/run" || die "failed to remove /var/run"
+ 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