diff --git a/system/logrotate.d/2600hz-platform.conf b/system/logrotate.d/2600hz-platform.conf new file mode 100644 index 0000000..adc44fd --- /dev/null +++ b/system/logrotate.d/2600hz-platform.conf @@ -0,0 +1,14 @@ +/var/log/2600hz-platform.log { + daily + missingok + notifempty + rotate 31 + create + compress + delaycompress + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true + endscript +} diff --git a/system/logrotate.d/bigcouch.conf b/system/logrotate.d/bigcouch.conf new file mode 100644 index 0000000..68291d0 --- /dev/null +++ b/system/logrotate.d/bigcouch.conf @@ -0,0 +1,14 @@ +/var/log/bigcouch.log { + daily + missingok + notifempty + rotate 31 + create + compress + delaycompress + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true + endscript +} diff --git a/system/logrotate.d/kamailio.conf b/system/logrotate.d/kamailio.conf new file mode 100644 index 0000000..f3b282b --- /dev/null +++ b/system/logrotate.d/kamailio.conf @@ -0,0 +1,14 @@ +/var/log/kamailio.log { + daily + missingok + notifempty + rotate 31 + create + compress + delaycompress + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true + endscript +} diff --git a/system/rsyslog.d/10-kamailio.conf b/system/rsyslog.d/10-kamailio.conf new file mode 100644 index 0000000..ab10144 --- /dev/null +++ b/system/rsyslog.d/10-kamailio.conf @@ -0,0 +1,2 @@ +if $programname == 'kamailio' then /var/log/kamailio.log +& ~ diff --git a/system/rsyslog.d/20-haproxy.conf b/system/rsyslog.d/20-haproxy.conf new file mode 100644 index 0000000..7b7501f --- /dev/null +++ b/system/rsyslog.d/20-haproxy.conf @@ -0,0 +1,2 @@ +if $programname == 'haproxy' then /var/log/haproxy.log +& ~ diff --git a/system/rsyslog.d/90-2600hzPlatform.conf b/system/rsyslog.d/90-2600hzPlatform.conf new file mode 100644 index 0000000..7938d8f --- /dev/null +++ b/system/rsyslog.d/90-2600hzPlatform.conf @@ -0,0 +1 @@ +local0.* /var/log/2600hz-platform.log diff --git a/system/bigcouch.limits.conf b/system/security/limits.d/bigcouch.limits.conf similarity index 100% rename from system/bigcouch.limits.conf rename to system/security/limits.d/bigcouch.limits.conf diff --git a/system/freeswitch.limits.conf b/system/security/limits.d/freeswitch.limits.conf similarity index 100% rename from system/freeswitch.limits.conf rename to system/security/limits.d/freeswitch.limits.conf