[asterisk-users] Start asterisk on boot

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jan 26 03:19:22 CST 2009


On Mon, Jan 26, 2009 at 09:32:26AM +0100, Ralf Träskman wrote:
> Hi
> 
> We runs asterisk 1.6 on a ubuntu 8.04 server.
> How can I get asterisk to start at boot?
> I have created an file named asterisk in /etc/event.d and put in this
> 
> 
>    # This service maintains Asterisk from the point the system is
>    # started until it is shut down again.
> 
>    description     "Asterisk daemon"
> 
>    start on runlevel-2
>    stop on shutdown
> 
>    respawn
>    exec //usr/sbin/asterisk -f


  exec /usr/sbin/asterisk -U asterisk 

please.

How do you intend to stop it?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list