]> granicus.if.org Git - icinga2/commitdiff
Fix logrotate install
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 20 Apr 2015 08:09:18 +0000 (10:09 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 20 Apr 2015 08:11:48 +0000 (10:11 +0200)
refs #8808

etc/logrotate.d/icinga2.cmake

index b573a3b09d206ae033e512b2d6b3b20f068a2bc3..25e627f77f9c6afbb788c9e60d70f0109d94bb71 100644 (file)
@@ -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
 }