[OpenSIPS-Users] How to run opensips in the foreground

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Apr 6 18:31:57 CEST 2009


Hi John,

setting "fork=no" is not an option (you have only one UDP interface, no 
TCP, no TLS....)

I think it is an issue with upstart......there are many other apps that 
fork at startup...

Regards,
Bogdan

John Khvatov wrote:
> On Fri, Apr 03, 2009 at 08:26:09PM +0200, Iñaki Baz Castillo wrote:
>   
>> If you set "log_stderror=no" then OpenSIPS output will be logged in the 
>> terminal. But you can close safely this terminal session and OpenSIPS will 
>> remain working.
>>
>> BTW, which requeriments has upstart?
>>     
>
> Upstart until release 5.0 doesn't support processes that detach from terminal
> (that fork (or fork twice)). Upstart works with opensips if I set "fork=no"
> in opensips config. But this way is not suitable for prodaction, right?
> There are other ways to run opensips foreground?
>
>   




More information about the Users mailing list