mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
add compress and delaycompress to the zoneminder logrotate settings
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
delaycompress
|
||||
compress
|
||||
postrotate
|
||||
/usr/bin/zmpkg.pl logrot >>/dev/null 2>&1 || :
|
||||
endscript
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user