Patches item #1689998, was opened at 2007-03-28 08:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1689998&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: -D option: "do not daemonize", -F option: "do not fork"

Initial Comment:
This patch is to allow 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. 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.

Anatoly Pidruchny
NewCross Technologies
email: [EMAIL PROTECTED]


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1689998&group_id=139143

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to