On Tuesday 09 August 2005 16:22, Tzafrir Cohen wrote:
> And this is still not something I could run from an init.d script (that
> has no terminal).

I use su - root -c "screen -dm asterisk -vvvgc"

that works from init.d, puts the screen somewhere root can get at it if need 
be, and you can always use asterisk -rx "shutdown now" to stop it in an 
init.d script.

Naturally I use full paths too.  :-)

-A.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to