I figured that out about 10 minutes ago. ;-) Thanks!!
bill fumerola wrote:
On Tue, Jun 06, 2006 at 11:32:07AM -0400, Jesse W. Asher wrote:
I'm running flow-capture in daemon mode (-D) on RedHat Fedora Core 4 and
it doesn't seem to go into the background as you would expect. Any
ideas why? Shouldn't daemon mode put it into the background? Thanks!!
the default is to daemonize:
from flow-capture.c
case 'D': /* daemonize */
detach = 0;
pidfile = (char*)0L;
break;
-D disables daemonization. the lack of documentation for this in
flow-capture.1 is a bug. the existence of an argument for -D in the
synopsis of the man page is also a bug. a completely untested patch is
attached (no docbook environment setup on the machine).
--- flow-capture.sgml.bak 2006-06-06 12:40:26.000000000 -0400
+++ flow-capture.sgml 2006-06-06 12:41:35.000000000 -0400
@@ -25,7 +25,7 @@
<arg>-C<replaceable> comment</replaceable></arg>
<arg>-c<replaceable> flow_clients</replaceable></arg>
<arg>-d<replaceable> debug_level</replaceable></arg>
-<arg>-D<replaceable> daemonize</replaceable></arg>
+<arg>-D</arg>
<arg>-e<replaceable> expire_count</replaceable></arg>
<arg>-f<replaceable> filter_fname</replaceable></arg>
<arg>-F<replaceable> filter_definition</replaceable></arg>
@@ -138,6 +138,15 @@
</varlistentry>
<varlistentry>
+<term>-D</term>
+<listitem>
+<para>
+Disable daemonization.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
<term>-e<replaceable> expire_count</replaceable></term>
<listitem>
<para>
|
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools