[Asterisk-Users] Auto Start

David J Carter david.carter at codepipe.com
Sun Oct 19 03:48:33 MST 2003


Thanks all for the replies.

I now * starting when the machine reboots without any user intervention
required.

Dave

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Rich Adamson
Sent: 19 October 2003 03:48
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Auto Start

> I now have only ./safe_asterisk in my rc.local file.
>

Another way to start/monitor * is to put this in /etc/inittab:

# Run asterisk in runlevels 2-5
A1:2345:respawn:/usr/sbin/safe_asterisk

If * dies for any reason, its automatically restarted within about
five minutes. (It also causes messages such as:
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
to be reported on the CLI and log files, cluttering both. Doesn't
seem to impact actual connections, etc, though.)

Rich


_______________________________________________
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