ovsdb-server: Document --unixctl option.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Mar 2010 18:22:42 +0000 (11:22 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 12 Apr 2010 18:03:32 +0000 (11:03 -0700)
lib/automake.mk
lib/unixctl-syn.man [new file with mode: 0644]
lib/unixctl.man [new file with mode: 0644]
ovsdb/ovsdb-server.1.in
ovsdb/ovsdb-server.c

index 51d3c11..b34a12a 100644 (file)
@@ -205,6 +205,8 @@ EXTRA_DIST += \
        lib/ssl-peer-ca-cert.man \
        lib/ssl.man \
        lib/ssl-syn.man \
+       lib/unixctl.man \
+       lib/unixctl-syn.man \
        lib/vconn-active.man \
        lib/vconn-passive.man \
        lib/vlog-unixctl.man \
diff --git a/lib/unixctl-syn.man b/lib/unixctl-syn.man
new file mode 100644 (file)
index 0000000..5a38e98
--- /dev/null
@@ -0,0 +1,2 @@
+.IP "Runtime management options:"
+\fB\-\-unixctl=\fIsocket\fR
diff --git a/lib/unixctl.man b/lib/unixctl.man
new file mode 100644 (file)
index 0000000..6ea7cf2
--- /dev/null
@@ -0,0 +1,8 @@
+.IP "\fB\-\-unixctl=\fIsocket\fR"
+Sets the name of the control socket on which \fB\*(PN\fR listens for
+runtime management commands (see \fBRUNTIME MANAGEMENT COMMANDS\fR,
+below).  If \fIsocket\fR does not begin with \fB/\fR, it is
+interpreted as relative to \fB@RUNDIR@\fR.  If \fB\-\-unixctl\fR is
+not used at all, the default socket is
+\fB@RUNDIR@/\*(PN.\fIpid\fB.ctl\fR, where \fIpid\fR is \fB\*(PN\fR's
+process ID.
index 14d8894..7909b9e 100644 (file)
@@ -12,6 +12,7 @@ ovsdb\-server \- Open vSwitch database server
 [\fB--run=\fIcommand\fR]
 .so lib/daemon-syn.man
 .so lib/vlog-syn.man
+.so lib/unixctl-syn.man
 .so lib/common-syn.man
 .
 .SH DESCRIPTION
@@ -71,6 +72,7 @@ one row in \fItable\fR.)
 .so lib/ssl.man
 .so lib/ssl-bootstrap.man
 .SS "Other Options"
+.so lib/unixctl.man
 .so lib/common.man
 .SH "RUNTIME MANAGEMENT COMMANDS"
 \fBovs\-appctl\fR(8) can send commands to a running
index eae20f9..0d95cb2 100644 (file)
@@ -439,6 +439,7 @@ usage(void)
     vlog_usage();
     printf("\nOther options:\n"
            "  --run COMMAND           run COMMAND as subprocess then exit\n"
+           "  --unixctl=SOCKET        override default control socket name\n"
            "  -h, --help              display this help message\n"
            "  -V, --version           display version information\n");
     leak_checker_usage();