aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-06-27 19:28:23 +0200
committerStefan Bühler <stbuehler@web.de>2015-06-27 19:28:23 +0200
commit861aca4f43cbe26c4e197180ebaf9d91b7dff55c (patch)
treeb09fcd46bc6f85d0e5dfe1104ef614f5f1e30d50
parentce9be5cd260480090e731cbef423b672596c0ad7 (diff)
downloadmultiwatch-861aca4f43cbe26c4e197180ebaf9d91b7dff55c.tar.gz
multiwatch-861aca4f43cbe26c4e197180ebaf9d91b7dff55c.zip
fix minus signs in man page
-rw-r--r--multiwatch.118
1 files changed, 9 insertions, 9 deletions
diff --git a/multiwatch.1 b/multiwatch.1
index 5f8615b..efd7cf8 100644
--- a/multiwatch.1
+++ b/multiwatch.1
@@ -3,7 +3,7 @@
multiwatch \- forks and watches multiple instances of a program in the same environment
.SH SYNOPSIS
.B multiwatch
-[options] -- <application> [app arguments]
+[options] \-\- <application> [app arguments]
.B multiwatch
\-v
@@ -17,23 +17,23 @@ multiwatch \- forks and watches multiple instances of a program in the same envi
.B \-f, \-\-forks=children
Number of children to fork and watch (default 1)
.TP 8
-.B \-r, --retry=retries
+.B \-r, \-\-retry=retries
Number of retries to fork a single child (default 3)
.TP 8
-.B \-t, --timeout=msecs
+.B \-t, \-\-timeout=msecs
Retry timeout in ms; if the child dies after the timeout the retry counter is reset (default 10000 ms = 10 s)
.TP 8
-.B \-s, --signal=signame
+.B \-s, \-\-signal=signame
Signal to send to children to signal 'graceful' termination (HUP,INT,QUIT,TERM,USR1,USR2, default is USR1)
.TP 8
-.B \-?, --help
+.B \-?, \-\-help
General usage instructions
.TP 8
-.B \-v, --version
+.B \-v, \-\-version
Show version and exit
.SH SIGNAL HANDLING
multiwatch will forward the signal USR2; if it receives HUP,INT,QUIT,TERM or USR1, it will send the
-signal from --signal to the children; if it receives another signal from that group, it will forward the
+signal from \-\-signal to the children; if it receives another signal from that group, it will forward the
signal again.
A signal of the group HUP,INT,QUIT,TERM and USR1 tells multiwatch to go into "shutdown" mode, so it won't
@@ -42,9 +42,9 @@ restart children after receiving it.
.TP 8
Spawn 2 rails instances on the same FastCGI socket (and supervise them):
.RS 8
-.B spawn-fcgi -s /tmp/fastcgi-rails.sock -n -- /usr/bin/multiwatch -f 2 /home/rails/public/dispatch.fcgi
+.B spawn\-fcgi \-s /tmp/fastcgi\-rails.sock \-n \-\- /usr/bin/multiwatch \-f 2 /home/rails/public/dispatch.fcgi
.RE
.SH SEE ALSO
-spawn-fcgi(1)
+spawn\-fcgi(1)
.SH AUTHOR
Stefan Buehler <stbuehler@web.de>.