diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-23 17:15:46 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-23 17:15:46 +0000 |
commit | e50c7a3366e78534668b3182da102eaa3ba3d5ab (patch) | |
tree | f10bbd824e7f0a42c307ffec90e673230cf85432 /contrib | |
parent | f9809f5284f88a493d36af887ac0a4ef0a9893b6 (diff) |
Merged revisions 132977 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r132977 | tilghman | 2008-07-23 12:14:56 -0500 (Wed, 23 Jul 2008) | 6 lines
Add logrotate script for Asterisk
(closes issue #13085)
Reported by: pabelanger
Patches:
logrotate uploaded by pabelanger (license 224)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@132978 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/scripts/asterisk.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/scripts/asterisk.logrotate b/contrib/scripts/asterisk.logrotate new file mode 100644 index 000000000..f83257060 --- /dev/null +++ b/contrib/scripts/asterisk.logrotate @@ -0,0 +1,13 @@ +/var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full /var/log/asterisk/debug /var/log/asterisk/*log { + weekly + missingok + rotate 52 + compress + delaycompress + notifempty + create 640 root root + sharedscripts + postrotate + /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null + endscript +}
\ No newline at end of file |