[asterisk-users] Start asterisk on boot
Ralf Träskman
ralf at adlibris.com
Mon Jan 26 03:39:55 CST 2009
Hi
That didnt work either, do i have to set some permissions?
/ralf
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier
Sent: den 26 januari 2009 09:52
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Start asterisk on boot
2009/1/26 Ralf Träskman <ralf at adlibris.com<mailto: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
1. Copy relevant file from contrib directory into /etc/init.d directory (while renaming it asterisk)
2. Then "sudo update-rc.d asterisk defaults" and it's done
________________________________________________
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<mailto:ralf at adlibris.com> www.adlibris.com<http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090126/bc557a68/attachment.htm
More information about the asterisk-users
mailing list