[VoIP] Asterisk start on boot with Debian Linux

Russ Price kxt at fubegra.net
Fri Sep 14 18:37:37 CDT 2007


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


More information about the VoIP mailing list