/[smecontribs]/rpms/smeserver-freepbx/contribs7/smeserver-freepbx-0.1-templates_logrotate.patch
ViewVC logotype

Contents of /rpms/smeserver-freepbx/contribs7/smeserver-freepbx-0.1-templates_logrotate.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jan 5 14:46:04 2011 UTC (13 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-30_el4_sme, smeserver-freepbx-0_1-29_el4_sme, smeserver-freepbx-0_1-31_el4_sme, smeserver-freepbx-0_1-32_el4_sme, HEAD
Error occurred while calculating annotation data.
* Wed Jan 05 2011 Daniel B. <daniel@firewall-services.com> 0.1-29.sme
- astdatadir is /var/lib/asterisk
- templates for /etc/logrotate.d/asterisk

1 diff -Nur smeserver-freepbx-0.1/createlinks smeserver-freepbx-0.1_mod/createlinks
2 --- smeserver-freepbx-0.1/createlinks 2011-01-05 15:24:57.000000000 +0100
3 +++ smeserver-freepbx-0.1_mod/createlinks 2011-01-05 15:30:17.000000000 +0100
4 @@ -34,6 +34,7 @@
5 templates2events("/etc/asterisk/asterisk.conf", qw(freepbx-update bootstrap-console-save));
6 templates2events("/etc/asterisk/cdr_mysql.conf", qw(freepbx-update bootstrap-console-save));
7 templates2events("/etc/asterisk/manager.conf", qw(freepbx-update bootstrap-console-save));
8 +templates2events("/etc/logrotate.d/asterisk", qw(freepbx-update bootstrap-console-save));
9 templates2events("/etc/httpd/conf/httpd.conf", $event);
10 templates2events("/etc/httpd/fpbx-conf/httpd.conf", qw(freepbx-update bootstrap-console-save conf-userpanel));
11 templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", qw(freepbx-update bootstrap-console-save));
12 diff -Nur smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All
13 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All 1970-01-01 01:00:00.000000000 +0100
14 +++ smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All 2011-01-05 15:29:16.000000000 +0100
15 @@ -0,0 +1,13 @@
16 +/var/log/asterisk/messages /var/log/asterisk/event_log /var/log/asterisk/queue_log /var/log/asterisk/full /var/log/asterisk/warnings \{
17 + missingok
18 + notifempty
19 + compress
20 + daily
21 + rotate 60
22 + create 0640 asterisk asterisk
23 + sharedscripts
24 + postrotate
25 + /usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>/dev/null || true
26 + endscript
27 +\}
28 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed