Fix logrotate install

refs #8808
This commit is contained in:
Michael Friedrich 2015-04-20 10:09:18 +02:00
parent 4b2e1c2662
commit 56364eca8e
1 changed files with 2 additions and 2 deletions

View 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
}