add compress and delaycompress to the zoneminder logrotate settings
This commit is contained in:
parent
b064383248
commit
9e3f6226ed
|
@ -2,9 +2,11 @@
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
delaycompress
|
||||||
|
compress
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
|
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
|
||||||
endscript
|
endscript
|
||||||
weekly
|
daily
|
||||||
rotate 3
|
rotate 7
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
delaycompress
|
||||||
|
compress
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
|
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
|
||||||
endscript
|
endscript
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
@ZM_LOGDIR@/*.log {
|
@ZM_LOGDIR@/*.log {
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
|
delaycompress
|
||||||
|
compress
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
|
|
Loading…
Reference in New Issue