summaryrefslogtreecommitdiffstats
path: root/system/freeswitch/logrotate.freeswitch
diff options
context:
space:
mode:
Diffstat (limited to 'system/freeswitch/logrotate.freeswitch')
-rw-r--r--system/freeswitch/logrotate.freeswitch9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/freeswitch/logrotate.freeswitch b/system/freeswitch/logrotate.freeswitch
new file mode 100644
index 0000000000..19c57ee2e1
--- /dev/null
+++ b/system/freeswitch/logrotate.freeswitch
@@ -0,0 +1,9 @@
+/var/log/freeswitch/freeswitch.log {
+ missingok
+ rotate 5
+ weekly
+ notifempty
+ postrotate
+ /opt/freeswitch/bin/fs_cli -x 'fsctl send_sighup' > /dev/null 2> /dev/null
+ endscript
+}