summaryrefslogtreecommitdiff
path: root/system/freeswitch/logrotate.freeswitch
diff options
context:
space:
mode:
authormario <mario@slackverse.org>2013-06-03 17:33:01 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-06-04 00:11:33 -0500
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
+}