summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2019-12-16 11:37:06 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2019-12-16 11:37:21 -0600
commitfe8651068ff3f480703cb4262a36208948846873 (patch)
tree7694b467ee7955837bc116ac7e113e6856b49726 /net-analyzer/icinga2
parentdev-python/recommonmark: 0.5.0 (diff)
downloadgentoo-fe8651068ff3f480703cb4262a36208948846873.tar.gz
gentoo-fe8651068ff3f480703cb4262a36208948846873.tar.bz2
gentoo-fe8651068ff3f480703cb4262a36208948846873.zip
net-analyzer/icinga2: switch to /run more completely
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-analyzer/icinga2')
-rw-r--r--net-analyzer/icinga2/icinga2-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild b/net-analyzer/icinga2/icinga2-9999.ebuild
index 31e997e9e6a5..39558b4834ec 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