summarylogtreecommitdiffstats
path: root/asterisk.logrotated
diff options
context:
space:
mode:
authorMichael Manley2016-03-08 13:35:18 -0800
committerMichael Manley2016-03-08 13:45:23 -0800
commitf6cadf52e4607bf19919a77c3a426c5726c7e60e (patch)
treeb6d854b27e521c209561219713ab80987e063371 /asterisk.logrotated
downloadaur-f6cadf52e4607bf19919a77c3a426c5726c7e60e.tar.gz
First Commit
Diffstat (limited to 'asterisk.logrotated')
-rw-r--r--asterisk.logrotated10
1 files changed, 10 insertions, 0 deletions
diff --git a/asterisk.logrotated b/asterisk.logrotated
new file mode 100644
index 000000000000..f03d0acd370d
--- /dev/null
+++ b/asterisk.logrotated
@@ -0,0 +1,10 @@
+/var/log/asterisk/*_log /var/log/asterisk/messages {
+ create 640 asterisk asterisk
+ compress
+ missingok
+ notifempty
+ postrotate
+ /usr/sbin/asterisk -rx "logger reload" 1>/dev/null || true
+ endscript
+}
+