From 5baa837c8d54b4bbf7148155d497c361479938eb Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 20 Apr 2015 10:09:18 +0200 Subject: [PATCH] Fix logrotate install refs #8808 --- etc/logrotate.d/icinga2.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/logrotate.d/icinga2.cmake b/etc/logrotate.d/icinga2.cmake index b573a3b09..25e627f77 100644 --- a/etc/logrotate.d/icinga2.cmake +++ b/etc/logrotate.d/icinga2.cmake @@ -1,4 +1,4 @@ -@MAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/debug.log { +@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/debug.log { daily rotate 7 compress @@ -9,7 +9,7 @@ postrotate if ! kill -l USR1 `cat @ICINGA2_RUNDIR@/icinga2/icinga2.pid`; then exit 1 - fi + fi endscript }