laine.marko@porilainen.com
2005-Aug-17 03:27 UTC
[Asterisk-Users] Automatic start with SuSe linux
Hi! I'm trying to start asterisk at boottime. Since SuSe has no rc.local like in Redhat linux, I need asterisk starting script to /etc/init.d/rc3.d -directory (I assume it is like that if i want automated asterisk startup). Do you have any experience how this is implemented in SuSe, and if you have some useful script for starting asterisk, I would be very, i mean VERY pleased? Thank you all in advance! ---------------------------------------------------------------- This mail sent through L-secure: http://www.l-secure.net/
You could just add the line asterisk to /etc/init.d/boot.local Angus ----- Original Message ----- From: <laine.marko@porilainen.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Wednesday, August 17, 2005 11:27 AM Subject: [Asterisk-Users] Automatic start with SuSe linux Hi! I'm trying to start asterisk at boottime. Since SuSe has no rc.local like in Redhat linux, I need asterisk starting script to /etc/init.d/rc3.d -directory (I assume it is like that if i want automated asterisk startup). Do you have any experience how this is implemented in SuSe, and if you have some useful script for starting asterisk, I would be very, i mean VERY pleased? Thank you all in advance! ---------------------------------------------------------------- This mail sent through L-secure: http://www.l-secure.net/ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Wednesday 17 August 2005 7:27 am, laine.marko@porilainen.com wrote:> Hi! > I'm trying to start asterisk at boottime. Since SuSe has no rc.local like > in Redhat linux, I need asterisk starting script to /etc/init.d/rc3.d > -directory (I assume it is like that if i want automated asterisk startup). > Do you have any experience how this is implemented in SuSe, and if you have > some useful script for starting asterisk, I would be very, i mean VERY > pleased?To make it start on boot: insserv asterisk Start it immediately with: rcasterisk start -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This e-mail is CONFIDENTIAL and contains information intended only for the person(s) named. Any other distribution, copying or disclosure is strictly prohibited. If you have received this e-mail in error, please notify me immediately at 902 420 0077 or reply by e-mail to the sender and destroy the original communication. Thank You. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
On Wed, Aug 17, 2005 at 01:27:08PM +0300, laine.marko@porilainen.com wrote:> Hi! > I'm trying to start asterisk at boottime. Since SuSeIt was SuSE (the old way). Now it is SUSE. Was it ever SuSe?> has no rc.local like in > Redhat linux, I need asterisk starting script to /etc/init.d/rc3.d -directory > (I assume it is like that if i want automated asterisk startup). > Do you have any experience how this is implemented in SuSe, and if you have some > useful script for starting asterisk, I would be very, i mean VERY pleased? > > Thank you all in advance!One nice thing SuSE has and most other distros lack is service dependencies: you can define in your init.d script which services your script needs and let insserv sert out the load order. For instance, asterisk needs to load after zaptel. The flash operator panel's daemon needs to start after asterisk. Also, if you install from RPMs, note that the init.d dir of SuSE is actually different than the one od RH. Or at least it was last time I looked. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend