Fix invalid logrotate option.

Fixes #6265
This commit is contained in:
Gunnar Beutner 2014-05-22 12:00:48 +02:00
parent 2350593ef0
commit 95d9b6f221
1 changed files with 3 additions and 19 deletions

View File

@ -1,7 +1,6 @@
# ----- logrotate config ------------- /var/log/icinga2/icinga2.log /var/log/icinga2/debug.log {
/var/log/icinga2/icinga2.log {
daily daily
rotate 90 rotate 7
compress compress
delaycompress delaycompress
missingok missingok
@ -15,22 +14,6 @@
endscript endscript
} }
/var/log/icinga2/debug.log {
hourly
rotate 90
compress
delaycompress
missingok
notifempty
create 644 icinga icinga
copytruncate
postrotate
if ! killall -q -USR1 icinga2; then
exit 1
fi
endscript
}
/var/log/icinga2/error.log { /var/log/icinga2/error.log {
daily daily
rotate 90 rotate 90
@ -40,5 +23,6 @@
notifempty notifempty
create 644 icinga icinga create 644 icinga icinga
copytruncate copytruncate
# TODO: figure out how to get Icinga to re-open this log file
} }