[Kamailio-Devel] SF.net SVN: openser:[4734] trunk
Henning Westerholt
henning.westerholt at 1und1.de
Mon Aug 25 13:44:45 CEST 2008
Revision: 4734
http://openser.svn.sourceforge.net/openser/?rev=4734&view=rev
Author: henningw
Date: 2008-08-25 11:44:43 +0000 (Mon, 25 Aug 2008)
Log Message:
-----------
- 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.
Modified Paths:
--------------
trunk/help_msg.h
trunk/main.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list