[VoIP] Asterisk start on boot with Debian Linux

Greg Blakely greg at vyger.net
Fri Sep 14 18:42:03 CDT 2007


It is true that I caught that inittab entry back in the olden days when
loligo.com was the only place that offered much help in configuring
asterisk.

I'm nothing, if not a Luddite.

:=)
 

> -----Original Message-----
> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] 
> On Behalf Of Russ Price
> Sent: Friday, September 14, 2007 6:38 PM
> To: Voice Over IP Tandem for Analog Switches
> Subject: Re: [VoIP] Asterisk start on boot with Debian Linux
> 
> Greg Blakely wrote:
> > I also have my asterisk start at boot-up (Fedora), but I do 
> it through 
> > /etc/inittab.
> > 
> > That way, if it dies, it will restart.
> > 
> > Here's what it looks like, a line by itself, all the way at 
> the bottom 
> > of the file:
> > 
> > # Start Asterisk
> > ax:2345:respawn:/usr/sbin/asterisk -cq
> 
> Note that on Red Hat/Fedora/CentOS systems, both Asterisk and 
> Zaptel will install startup scripts by using "make config".
> 
> You will then need to run:
> 
> 	chkconfig zaptel on
> 	chkconfig asterisk on
> 
> to make sure that the scripts get run at bootup.
> 
> The Red Hat-style init script will run "safe_asterisk" which 
> will restart Asterisk if it dies.
> 
> 	Russ
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> 


More information about the VoIP mailing list