Browse Source

Merge pull request #3 from x974/master

Added a Logrotate conf file for FreeSWITCH and a limit of 5 days retention to all other Logrotate conf files
3.17
bitbashing 13 years ago
parent
commit
3cf330c24a
4 changed files with 16 additions and 0 deletions
  1. +1
    -0
      system/logrotate.d/2600hz-platform.conf
  2. +1
    -0
      system/logrotate.d/bigcouch.conf
  3. +13
    -0
      system/logrotate.d/freeswitch.conf
  4. +1
    -0
      system/logrotate.d/kamailio.conf

+ 1
- 0
system/logrotate.d/2600hz-platform.conf View File

@ -3,6 +3,7 @@
missingok missingok
notifempty notifempty
rotate 31 rotate 31
maxage 5
create create
compress compress
delaycompress delaycompress


+ 1
- 0
system/logrotate.d/bigcouch.conf View File

@ -3,6 +3,7 @@
missingok missingok
notifempty notifempty
rotate 31 rotate 31
maxage 5
create create
compress compress
delaycompress delaycompress


+ 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
}

+ 1
- 0
system/logrotate.d/kamailio.conf View File

@ -3,6 +3,7 @@
missingok missingok
notifempty notifempty
rotate 31 rotate 31
maxage 5
create create
compress compress
delaycompress delaycompress


Loading…
Cancel
Save