[Kamailio-Devel] SF.net SVN: openser:[4734] trunk

Henning Westerholt henning.westerholt at 1und1.de
Mon Aug 25 14:04:17 CEST 2008


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?

Cheers,

Henning



More information about the Devel mailing list