1.1 --- a/asterisk/rc.asterisk Sun Dec 04 15:57:04 2011 +0100 1.2 +++ b/asterisk/rc.asterisk Thu Dec 22 18:08:26 2011 +0100 1.3 @@ -44,12 +44,17 @@ 1.4 rcService asterisk active no && exit 0 1.5 @l_prefix@/sbin/asterisk -rx "core reload" 1.6 1.7 +%logrel -u @l_susr@ 1.8 + rcService asterisk enable yes || exit 0 1.9 + rcService asterisk active no && exit 0 1.10 + @l_prefix@/sbin/asterisk -rx "logger reload" 1.11 + 1.12 %daily -u @l_susr@ 1.13 rcService asterisk enable yes || exit 0 1.14 shtool rotate -f \ 1.15 -n ${asterisk_log_numfiles} -s ${asterisk_log_minsize} -d \ 1.16 -z ${asterisk_log_complevel} -m 664 -o @l_rusr@ -g @l_rgrp@ \ 1.17 -P "${asterisk_log_prolog}" \ 1.18 - -E "${asterisk_log_epilog}; rc asterisk reload" \ 1.19 + -E "${asterisk_log_epilog}; rc asterisk logrel" \ 1.20 @l_prefix@/var/asterisk/log/asterisk.log 1.21