summaryrefslogtreecommitdiffstats
path: root/system/freeswitch/logrotate.freeswitch
diff options
context:
space:
mode:
author mario2013-06-04 00:33:01 +0200
committer Robby Workman2013-06-04 07:11:33 +0200
commit1cea6afdc176c7a08e57adf112dd6d699742ba24 (patch)
tree9ac81a67b177706305834f9f31dc8b56141b37fb /system/freeswitch/logrotate.freeswitch
parentca77a5a0a0bd68537c6f629c84519b26c10a23d1 (diff)
downloadslackbuilds-1cea6afdc176c7a08e57adf112dd6d699742ba24.tar.gz
system/freeswitch: Added (Open source telephony platform)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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
+}