add compress and delaycompress to the zoneminder logrotate settings

This commit is contained in:
Isaac Connor 2016-10-02 10:05:07 -04:00
parent b064383248
commit 9e3f6226ed
3 changed files with 8 additions and 2 deletions

View File

@ -2,9 +2,11 @@
missingok
notifempty
sharedscripts
delaycompress
compress
postrotate
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
endscript
weekly
rotate 3
daily
rotate 7
}

View File

@ -2,6 +2,8 @@
missingok
notifempty
sharedscripts
delaycompress
compress
postrotate
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
endscript

View File

@ -11,6 +11,8 @@
@ZM_LOGDIR@/*.log {
missingok
notifempty
delaycompress
compress
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true