On Mon, 2009-01-26 at 09:32 +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 > > > > 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 > [email protected] www.adlibris.com > P Please consider the environment before printing this e-mail > > > >
I am using the /etc/init.d/asterisk startup file and works Just make sure that permissions are set correctly. The default asterisk package from ubuntu reps runs as non-root so if you have installed it prior to installing 1.6 some things will be warped. -- Stelios S. Koroneos Digital OPSiS - Embedded Intelligence Tel +30 210 9858296 Ext 100 Fax +30 210 9858298 http://www.digital-opsis.com _______________________________________________ -- 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
