based on a pr from mm1ke
Package-Manager: portage-2.3.0
+++ /dev/null
-diff -ur icinga2-2.4.10/etc/logrotate.d/icinga2.cmake icinga2-2.4.10.new/etc/logrotate.d/icinga2.cmake
---- icinga2-2.4.10/etc/logrotate.d/icinga2.cmake 2016-05-19 06:39:29.000000000 -0500
-+++ icinga2-2.4.10.new/etc/logrotate.d/icinga2.cmake 2016-05-22 17:52:45.547568144 -0500
-@@ -1,4 +1,5 @@
- @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/debug.log {
-+ su icinga icingacmd
- daily
- rotate 7@LOGROTATE_USE_SU@
- compress
-@@ -12,6 +13,7 @@
- }
-
- @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/error.log {
-+ su icinga icingacmd
- daily
- rotate 90@LOGROTATE_USE_SU@
- compress