diff options
author | Alan Hicks <alan@lizella.net> | 2010-05-11 20:01:29 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 20:01:29 +0200 |
commit | a98998a7f9403fdd57d512e2ca848155f5973b57 (patch) | |
tree | 22844bce7626f62cbfada32e9eb4700ce23e77f9 /network/asterisk/logrotate.asterisk | |
parent | e728769016e769f36d650858c932e047268dd315 (diff) |
network/asterisk: Added to 12.0 repository
Diffstat (limited to 'network/asterisk/logrotate.asterisk')
-rw-r--r-- | network/asterisk/logrotate.asterisk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/network/asterisk/logrotate.asterisk b/network/asterisk/logrotate.asterisk new file mode 100644 index 0000000000000..f2281a71bc3d4 --- /dev/null +++ b/network/asterisk/logrotate.asterisk @@ -0,0 +1,8 @@ +/var/log/asterisk/messages /var/log/asterisk/*log { + missingok + rotate 5 + weekly + postrotate + /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null + endscript +} |