summaryrefslogtreecommitdiff
path: root/lib/daemon.man
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-01-15 12:13:46 -0800
committerBen Pfaff <blp@nicira.com>2010-01-15 15:29:54 -0800
commitff8decf1a318b4a611cb08bb3f12833044e8a872 (patch)
tree0ed0790027e3b32e230ad8fa87730ea1eb1caafd /lib/daemon.man
parent7943cd51e7eba1442846a853b6ed62e89a05d110 (diff)
downloadopenvswitch-ff8decf1a318b4a611cb08bb3f12833044e8a872.tar.gz
daemon: Add support for process monitoring and restart.
Diffstat (limited to 'lib/daemon.man')
-rw-r--r--lib/daemon.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/daemon.man b/lib/daemon.man
index ea0561daf..c23937747 100644
--- a/lib/daemon.man
+++ b/lib/daemon.man
@@ -20,6 +20,17 @@ Causes \fB\*(PN\fR to detach itself from the foreground session and
run as a background process.
.TP
+\fB--monitor\fR
+Creates an additional process to monitor the \fB\*(PN\fR daemon. If
+the daemon dies due to a signal that indicates a programming error
+(e.g. \fBSIGSEGV\fR, \fBSIGABRT\fR), then the monitor process starts a
+new copy of it. If the daemon die or exits for another reason, the
+monitor process exits.
+.IP
+This option is normally used with \fB--detach\fR, but it also
+functions without it.
+
+.TP
\fB--no-chdir\fR
By default, when \fB--detach\fR is specified, \fB\*(PN\fR
changes its current working directory to the root directory after it