Browse Source

Added a Logrotate conf file for FreeSWITCH

3.17
Xav 2600hz 13 years ago
parent
commit
fa1f43baad
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      system/logrotate.d/freeswitch.conf

+ 13
- 0
system/logrotate.d/freeswitch.conf View File

@ -0,0 +1,13 @@
/var/log/freeswitch/*.log {
daily
rotate 31
nocreate
missingok
maxage 5
compress
delaycompress
sharedscripts
prerotate
/bin/kill -HUP `cat /usr/local/freeswitch/run/freeswitch.pid 2> /dev/null` 2> /dev/null || true
endscript
}

Loading…
Cancel
Save