[Asterisk-Users] Auto Starting Asterisk
Thorsten Lockert
tholo at sigmasoft.com
Tue Dec 23 07:14:17 MST 2003
"make config" does both the copy and the neccecary linking...
Thorsten
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Bisker, Scott
(7805)
Sent: Tuesday, December 23, 2003 8:50
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Auto Starting Asterisk
An even better way to get asterisk started is to use the init scripts
provided with asterisk and the zaptel kernel modules.
cp /usr/src/asterisk/init.asterisk /etc/init.d/asterisk
cp /usr/src/zaptel/init.zaptel /etc/init.d/zaptel
Then do the proper linking, etc to get asterisk to start in your current run
level.
-sb
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of David J
Carter
Sent: Tuesday, December 23, 2003 7:38 AM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Auto Starting Asterisk
Hi,
In rc.local I added the line /etc/rc.d/run-asterisk
I then created a small script of 2 lines called run-asterisk
#!/bin/sh
/usr/sbin/asterisk
do a chmod 755 on the file and reboot.
The Asterisk server then starts at every reboot.
Regards
Dave
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Adthrawn
Sent: 23 December 2003 12:18
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Auto Starting Asterisk
Hi,
I'm a newbie to the list, but have been screwing around with Asterisk
for the last 6 months or so (on a purely experimental basis so far).
I'm not a linux expert by any stretch, (I'm a Mac OS X user), so I'm
unsure where the line is drawn in terms of Linux issues or Asterisk
issues.
At present, I have to manually start Asterisk from the command line,
but I'd like to have it automatically start up (and in the correct
mode) at startup.
For now, the server is running as a workstation, so I only need it to
run as a background daemon, but in the near future, we're going to run
Asterisk of a dedicated racked server, which we would only want to run
Asterisk, and there bare minimums required - as far as I'm aware, you
could start Asterisk very early on in the boot-up process.
Can anybody guide me in configuring the system to start Asterisk from
bootup... Probably a highly remedial question - but you've got to start
somewhere!
Regards,
Ad.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list