Bug#389448: asterisk: init rules should check status

Marc Dequènes (Duck) duck at duckcorp.org
Mon Sep 25 19:01:24 UTC 2006


Package: asterisk
Version: 1.2.10.dfsg-2


Coin,

At least reload, logger-reload, and extensions-reload should check
status to avoid such crap when asterisk is shut down:

/etc/cron.daily/logrotate:
Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?)
invoke-rc.d: initscript asterisk, action "logger-reload" failed.
error: error running shared postrotate script for
/var/log/asterisk/cdr-custom/Master.csv /var/log/asterisk/debug
/var/log/asterisk/event_log /var/log/a\sterisk/messages
run-parts: /etc/cron.daily/logrotate exited with return code 1

Thanks.

-- 
Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20060925/6b9d5ddd/attachment.pgp


More information about the Pkg-voip-maintainers mailing list