[Asterisk-Users] safe_asterisk doesn't restart when called by initlog in fedora

Ezio Vernacotola ezio at uptime.it
Sun Mar 13 04:15:52 MST 2005


In fedora core 2 and 3 starting asterisk using
contrib/init.d/rc.redhat.asterisk (installed by make config), if
asterisk dies, it doesn't restart.

Seems the problem is in initlog.
The standard way to start services in fedora is by calling

daemon <service>

that results in:

$nice initlog $INITLOG_ARGS -c "$*"

Removing initlog works correctly.

I don't know if this is a bug in initlog or there is someting wrong in
safe_asterisk.
I resolved for now removing "daemon" in /etc/rc.d/init.d/asterisk


Ezio Vernacotola





More information about the asterisk-users mailing list