[Kamailio-Devel] SF.net SVN: openser:[4734] trunk
Daniel-Constantin Mierla
miconda at gmail.com
Mon Aug 25 14:50:07 CEST 2008
Hello,
On 08/25/08 15:04, Henning Westerholt wrote:
> On Monday 25 August 2008, Daniel-Constantin Mierla wrote:
>
>>> - apply patch from Anatoly Pidruchny, closes #1720847
>>> - Allow to run OpenSER in "no-daemon" mode, necessary to run OpenSER
>>> under daemontools. There is a -D option already that means "Do not fork
>>> into daemon mode". But the problem with this option is that it really
>>> means more then just "Do not fork into daemon mode". It really means do
>>> not fork at all, i.e. do not create any child OpenSER processes. The
>>> patch below adds a variable no_daemon in main.c, makes -D option only
>>> change the no_daemon variable and makes the variable no_daemon only
>>> control whether OpenSER daemonizes itself or not. Another option, option
>>> -F, is added as the replacement of the old -D option. The -F option sets
>>> both no_daemon and dont_fork variables, so that it means exactly the same
>>> as -D option meant before.
>>>
>> perhaps this has to be integrated somehow with 'fork' config option.
>>
>
> Hi Daniel,
>
> do you refer to the fork option in the config script?
>
right,
http://www.kamailio.net/dokuwiki/doku.php/core-cookbook:devel#fork
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list