[Asterisk-Users] detaching console from foreground asterisk
Andrew Kohlsmith
akohlsmith-asterisk at benshaw.com
Tue Aug 9 13:55:26 MST 2005
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.
More information about the asterisk-users
mailing list