<br><br><div class="gmail_quote">2009/1/26 Ralf Träskman <span dir="ltr"><<a href="mailto:ralf@adlibris.com">ralf@adlibris.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="SV">
<div>
<p>Hi</p>
<p> </p>
<p><span lang="EN-US">We runs asterisk 1.6 on a ubuntu 8.04
server.</span></p>
<p><span lang="EN-US">How can I get asterisk to start at boot?</span></p>
<p><span lang="EN-US">I have created an file named asterisk in
/etc/event.d and put in this</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US"><br>
</span><span style="font-family: "Courier New";" lang="EN-US"> # This service maintains Asterisk from the point the system is
</span><span lang="EN-US"><br>
</span><span style="font-family: "Courier New";" lang="EN-US"> # started until it is shut down again.
</span><span lang="EN-US"><br>
<br>
</span><span style="font-family: "Courier New";" lang="EN-US"> description "Asterisk daemon"
</span><span lang="EN-US"><br>
<br>
</span><span style="font-family: "Courier New";" lang="EN-US"> start on runlevel-2
</span><span lang="EN-US"><br>
</span><span style="font-family: "Courier New";" lang="EN-US"> stop on shutdown
</span><span lang="EN-US"><br>
<br>
</span><span style="font-family: "Courier New";" lang="EN-US"> respawn
</span><span lang="EN-US"><br>
</span><span style="font-family: "Courier New";" lang="EN-US"> exec //usr/sbin/asterisk –f</span></p>
<p><span style="font-family: "Courier New";" lang="EN-US"> </span></p>
<p><span style="font-family: "Courier New";" lang="EN-US">But it doesn't
work.</span></p>
<p><span style="font-family: "Courier New";" lang="EN-US"> </span></p>
<p><span style="font-family: "Courier New";" lang="EN-US">Regards</span></p>
<p><span style="font-family: "Courier New";" lang="EN-US">/ralf </span><span lang="EN-US"></span></p>
<p><span lang="EN-US"> </span></p>
<p><span style="font-size: 10pt; color: navy;" lang="EN-US">________________________________________________</span><a name="11f121712e002ebc_OLE_LINK2"></a><span style="color: navy;" lang="EN-US"></span></p>
<p><a name="11f121712e002ebc_OLE_LINK1"></a><span style="font-size: 7.5pt; color: navy;" lang="EN-GB">Ralf Träskman, IT<br>
AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden<br>
Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99<br>
<a href="mailto:ralf@adlibris.com" target="_blank"><span style="color: blue;">ralf@adlibris.com</span></a>
<a href="http://www.adlibris.com/" target="_blank"><span style="color: blue;">www.adlibris.com</span></a>
<br>
</span><span style="font-size: 15pt; font-family: Webdings; color: green;" lang="EN-GB">P</span><span style="font-family: "Comic Sans MS"; color: green;" lang="EN-GB"> </span><b><span style="font-size: 8pt; color: green;" lang="EN-GB">Please consider the environment before
printing this e-mail</span></b><span lang="EN-US"></span></p>
<p><span lang="EN-US"> </span></p>
</div>
</div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all">go to the source directory <br>where you did ./configure<br>
make<br>make install<br>and run "make config" <br>this will make all the start/stop scripts for you.<br>David<br>-- <br> (\__/) <br>(='.'=)This is Bunny. Copy and paste bunny into your <br>(")_(")signature to help him gain world domination. <br>
<br>