asterisk/contrib/scripts/asterisk.logrotate

14 lines
290 B
Plaintext
Raw Permalink Normal View History

2023-05-25 18:45:57 +00:00
__LOGDIR__/debug __LOGDIR__/console __LOGDIR__/full __LOGDIR__/messages __LOGDIR__/*log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root root
sharedscripts
postrotate
__SBINDIR__/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
endscript
}