Bug#287025: asterisk: Asterisk restart fails, both via init.d script and from CLI
   
    Tzafrir Cohen
     
    Tzafrir Cohen <tzafrir.cohen@xorcom.com>, 287025@bugs.debian.org
       
    Sat, 01 Jan 2005 18:52:57 +0200
    
    
  
restarting from the init.d script fails because 'restart' runs:
  $DAEMON -rx 'restart gracefully' > /dev/null && echo -n "$NAME"
Which will silently fail if no asterisk daemon is running.
A more robust solution is to make it run the usual:
  $0 stop
	$0 start
-- 
Tzafrir Cohen   icq#16849755  +972-50-7952406
tzafrir.cohen@xorcom.com    http://xorcom.com