[asterisk-users] Start asterisk on boot

David fire ddfire at gmail.com
Mon Jan 26 05:54:33 CST 2009


2009/1/26 Ralf Träskman <ralf at adlibris.com>

>  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
>
>
>
> But it doesn't work.
>
>
>
> Regards
>
> /ralf
>
>
>
> ________________________________________________
>
> Ralf Träskman, IT
> AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden
> Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99
> ralf at adlibris.com www.adlibris.com
> P *Please consider the environment before printing this e-mail*
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>


go to the source directory
where you did ./configure
make
make install
and run "make config"
this will make all the start/stop scripts for you.
David
-- 
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090126/48f1dc2c/attachment.htm 


More information about the asterisk-users mailing list