[Devel] Contribution to OpenSER
Anatoly Pidruchny
apidruchny at newxt.com
Wed Mar 28 17:45:31 CEST 2007
Hi, Daniel,
> On 03/27/07 19:33, Anatoly Pidruchny wrote:
>> Dear OpenSER developers,
>>
>> we would like to contribute some changes to OpenSER that should be
>> useful to all of the OpenSER community.
>>
>> The first small but useful change that we want is the ability to run
>> OpenSER in "no-daemon" mode. We need to do this 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. Yes, this
>> patch means that -D option will no longer change the value of
>> dont_fork variable. Well, we think a new option has to be added that
>> will turn on the dont_fork variable. This patch does not add such a
>> new option.
>>
>> Please let me know what should I do contribute this patch.
> please register the patch to the tracker on sourceforge page. In this
> way won't get lost inside mailing lists and someone will review and
> incorporate it.
>
> http://sourceforge.net/tracker/?atid=743022&group_id=139143&func=browse
>
I just registered the patch, Request ID 1689998.
Thanks,
Anatoly.
More information about the Devel
mailing list