On Mon, Jul 04, 2005 at 09:55:46PM +0200, Roland Zagler wrote: > i experienced that on some configs the "service asterisk restart" does > not work correctly, so go to "/etc/rc.d/init.d" and edit the file > "asterisk" > and insert a "sleep 5" between stop and start in "restart".
Why is that? 'restart' on debian is simply: $0 stop $0 start 'stop' has some logic to stop asterisk: first asterisk -rx 'stop now' in the background, so it won't hang, after two seconds sigterm to the asterisk processes and after 5 sends sigkill. Seems to work well. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users