On Tue, Aug 09, 2005 at 09:30:31PM +0200, Michiel van Baak wrote:
> On 22:19, Tue 09 Aug 05, Tzafrir Cohen wrote:
> > On Tue, Aug 09, 2005 at 03:06:01PM -0400, James Treleaven wrote:
> > > Is it possible to start asterisk in the foreground ("asterisk -fc") and 
> > > later detach from the terminal but leave asterisk running?
> > 
> > Start Asterisk in a screen(1) terminal ?
> > 
> > BTW: anybody wants to wrap safe_asterisk to make it possible to use a
> > screen terminal instead of a virtual console?
> > 
> 
> Maybe this is too lame but how about you type this in a
> screen session:
> 
> while (1) {
>       asterisk -fc
> }
> 
> ;)

Take a look at safe_asterisk to see a number of obvious flaws in such a
simplistic script. Don't reinvent the wheel.

And this is still not something I could run from an init.d script (that
has no terminal).

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                           | a Mutt's  
[EMAIL PROTECTED] |                           |  best
ICQ# 16849755         |                           | friend
_______________________________________________
Asterisk-Users mailing list
[email protected]
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