[Asterisk-Users] Asterisk on Fedora Core 2 startup script
Greg Boehnlein
damin at nacs.net
Thu May 5 19:17:28 MST 2005
On Thu, 5 May 2005, Colin Anderson wrote:
> I like easy questions!
>
> Add to /etc/rc.d:
>
> modprobe wctdm
> ztcfg -vv
> su <yourasteriskuser> /usr/sbin/safe_asterisk &
>
> where <yourasteriskuser> is the user that you normally run Asterisk under.
> Omit the su <yourasteriskuser> if you are running Asterisk as root.
> safe_asterisk is a watchdog script that restarts Asterisk if it craps out.
> The & Ampersand runs it as a background process, returning control to the
> tty and allowing you to log into the console.
Or, you could just use the pre-existing scripts:
/usr/src/zaptel/zaptel.init
and
/usr/src/asterisk/contrib/init.d/rc.redhat.asterisk
They work.
--
Vice President of N2Net, a New Age Consulting Service, Inc. Company
http://www.n2net.net Where everything clicks into place!
KP-216-121-ST
More information about the asterisk-users
mailing list