diff -Nur smeserver-freepbx-0.1/createlinks smeserver-freepbx-0.1_mod/createlinks --- smeserver-freepbx-0.1/createlinks 2011-01-05 15:24:57.000000000 +0100 +++ smeserver-freepbx-0.1_mod/createlinks 2011-01-05 15:30:17.000000000 +0100 @@ -34,6 +34,7 @@ templates2events("/etc/asterisk/asterisk.conf", qw(freepbx-update bootstrap-console-save)); templates2events("/etc/asterisk/cdr_mysql.conf", qw(freepbx-update bootstrap-console-save)); templates2events("/etc/asterisk/manager.conf", qw(freepbx-update bootstrap-console-save)); +templates2events("/etc/logrotate.d/asterisk", qw(freepbx-update bootstrap-console-save)); templates2events("/etc/httpd/conf/httpd.conf", $event); templates2events("/etc/httpd/fpbx-conf/httpd.conf", qw(freepbx-update bootstrap-console-save conf-userpanel)); templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", qw(freepbx-update bootstrap-console-save)); 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 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All 2011-01-05 15:29:16.000000000 +0100 @@ -0,0 +1,13 @@ +/var/log/asterisk/messages /var/log/asterisk/event_log /var/log/asterisk/queue_log /var/log/asterisk/full /var/log/asterisk/warnings \{ + missingok + notifempty + compress + daily + rotate 60 + create 0640 asterisk asterisk + sharedscripts + postrotate + /usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>/dev/null || true + endscript +\} +