Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/contrib/scripts/asterisk.logrotate
tilghman 3635a9497d Build the logrotate script according to paths
(Closes issue #13147)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133400 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24 05:21:00 +00:00

14 lines
290 B
Text

__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
}