From fe8651068ff3f480703cb4262a36208948846873 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Mon, 16 Dec 2019 11:37:06 -0600 Subject: net-analyzer/icinga2: switch to /run more completely Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Matthew Thode --- net-analyzer/icinga2/icinga2-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net-analyzer/icinga2') 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 -- cgit v1.2.3-65-gdbad