[Asterisk-Users] Auto Start

Rich Adamson radamson at routers.com
Sat Oct 18 19:48:06 MST 2003


> 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





More information about the asterisk-users mailing list