| 42 %reload -u @l_susr@ |
42 %reload -u @l_susr@ |
| 43 rcService asterisk enable yes || exit 0 |
43 rcService asterisk enable yes || exit 0 |
| 44 rcService asterisk active no && exit 0 |
44 rcService asterisk active no && exit 0 |
| 45 @l_prefix@/sbin/asterisk -rx "core reload" |
45 @l_prefix@/sbin/asterisk -rx "core reload" |
| 46 |
46 |
| |
47 %logrel -u @l_susr@ |
| |
48 rcService asterisk enable yes || exit 0 |
| |
49 rcService asterisk active no && exit 0 |
| |
50 @l_prefix@/sbin/asterisk -rx "logger reload" |
| |
51 |
| 47 %daily -u @l_susr@ |
52 %daily -u @l_susr@ |
| 48 rcService asterisk enable yes || exit 0 |
53 rcService asterisk enable yes || exit 0 |
| 49 shtool rotate -f \ |
54 shtool rotate -f \ |
| 50 -n ${asterisk_log_numfiles} -s ${asterisk_log_minsize} -d \ |
55 -n ${asterisk_log_numfiles} -s ${asterisk_log_minsize} -d \ |
| 51 -z ${asterisk_log_complevel} -m 664 -o @l_rusr@ -g @l_rgrp@ \ |
56 -z ${asterisk_log_complevel} -m 664 -o @l_rusr@ -g @l_rgrp@ \ |
| 52 -P "${asterisk_log_prolog}" \ |
57 -P "${asterisk_log_prolog}" \ |
| 53 -E "${asterisk_log_epilog}; rc asterisk reload" \ |
58 -E "${asterisk_log_epilog}; rc asterisk logrel" \ |
| 54 @l_prefix@/var/asterisk/log/asterisk.log |
59 @l_prefix@/var/asterisk/log/asterisk.log |
| 55 |
60 |