summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2005-12-18 11:15:50 +0000
committerGerrit Pape <pape@smarden.org>2005-12-18 11:15:50 +0000
commitc2e4f73a63165a5dc8cd6c7e30bf9f3680d0cd28 (patch)
tree88b54b91c56dbb41252f47ba8972ea0384ec593e /man
parentac103e08fa07c983c69a55fc59f7979b89026c95 (diff)
downloadrunit-c2e4f73a63165a5dc8cd6c7e30bf9f3680d0cd28.tar.gz
runit-c2e4f73a63165a5dc8cd6c7e30bf9f3680d0cd28.tar.xz
runit-c2e4f73a63165a5dc8cd6c7e30bf9f3680d0cd28.zip
* svlogd.c: don't print extra newlines to the log if additionally writing
    to the network through udp (thx Andras Korn,
    http://bugs.debian.org/339030).
  * runsvdir.c: also process svdir changes if mtime of svdir has changed into
    the past (thx Martin Dickopp).
  * doc/index.html: update description; Please contact this list and not me
    privately.
  * doc/replaceinit.html, doc/runscripts.html: minor.
  * man/chpst.8: -U doesn't support a list of groups.
  * man/svlogd.8: update PATTERN MATCHING section, add example (based on
    sugesstions from Joshua N Pritikin).
  * man/*8: update SEE ALSO sections: runsvctrl, runsvstat, svwaitdown,
    svwaitup will become obsolete; remove references to man pages for
    programs from the daemontools package.
1.3.2.
Diffstat (limited to 'man')
-rw-r--r--man/chpst.826
-rw-r--r--man/runit-init.85
-rw-r--r--man/runit.89
-rw-r--r--man/runsv.810
-rw-r--r--man/runsvchdir.810
-rw-r--r--man/runsvctrl.88
-rw-r--r--man/runsvdir.811
-rw-r--r--man/runsvstat.87
-rw-r--r--man/sv.84
-rw-r--r--man/svlogd.836
-rw-r--r--man/svwaitdown.86
-rw-r--r--man/svwaitup.86
-rw-r--r--man/utmpset.85
13 files changed, 66 insertions, 77 deletions
diff --git a/man/chpst.8 b/man/chpst.8
index 7594fa8..580a038 100644
--- a/man/chpst.8
+++ b/man/chpst.8
@@ -71,12 +71,6 @@ set $GID to the
 gid instead of
 .IR user 's
 gid.
-If
-.I group
-consists of a colon-separated list of group names,
-.B chpst
-sets the group ids of all listed groups.
-All initial supplementary groups are removed.
 .TP
 .B \-e \fIdir
 envdir.
@@ -207,21 +201,23 @@ Otherwise its exit code is the same as that of
 If
 .B chpst
 is called as
-.BR envdir (8),
-.BR envuidgid (8),
-.BR pgrphack (8),
-.BR setlock (8),
-.BR setuidgid (8),
+.BR envdir ,
+.BR envuidgid ,
+.BR pgrphack ,
+.BR setlock ,
+.BR setuidgid ,
 or
-.BR softlimit (8),
+.BR softlimit ,
 it emulates the functionality of these programs from the daemontools package
 respectively.
 .SH SEE ALSO
+sv(8),
 runsv(8),
-runsvctrl(8),
-runsvstat(8),
+setsid(2),
+runit(8),
+runit-init(8),
 runsvdir(8),
-setsid(2)
+runsvchdir(8)
 .P
  http://smarden.org/runit/
  http://cr.yp.to/daemontools.html
diff --git a/man/runit-init.8 b/man/runit-init.8
index aa48cb1..4ea33c2 100644
--- a/man/runit-init.8
+++ b/man/runit-init.8
@@ -52,11 +52,10 @@ returns 111 on error, 0 in all other cases.
 runit(8),
 runsvdir(8),
 runsvchdir(8),
-utmpset(8),
+sv(8),
 runsv(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
+utmpset(8),
 svlogd(8)
 .P
 http://smarden.org/runit/
diff --git a/man/runit.8 b/man/runit.8
index d26d3ec..a53cf6e 100644
--- a/man/runit.8
+++ b/man/runit.8
@@ -77,14 +77,11 @@ receives an INT signal, a ctrl-alt-del keyboard request is triggered.
 runit-init(8),
 runsvdir(8),
 runsvchdir(8),
-utmpset(8),
+sv(8),
 runsv(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
-svlogd(8),
-svwaitdown(8),
-svwaitup(8)
+utmpset(8),
+svlogd(8)
 .P
 http://smarden.org/runit/
 .SH AUTHOR
diff --git a/man/runsv.8 b/man/runsv.8
index 915dddb..aebbc45 100644
--- a/man/runsv.8
+++ b/man/runsv.8
@@ -49,9 +49,10 @@ directory.
 The standard input of the log service is redirected to read from the pipe.
 .P
 .B runsv
-maintains status information in a binary format compatible to
-.BR supervise (8)
-in
+maintains status information in a binary format (compatible to the
+daemontools'
+.B supervise
+program) in
 .IR service /supervise/status
 and
 .IR service /log/supervise/status,
@@ -204,8 +205,7 @@ is running in
 .B runsv
 exits 0 if it was told to exit.
 .SH SEE ALSO
-runsvctrl(8),
-runsvstat(8),
+sv(8),
 chpst(8),
 svlogd(8),
 runit(8),
diff --git a/man/runsvchdir.8 b/man/runsvchdir.8
index 499703e..793d653 100644
--- a/man/runsvchdir.8
+++ b/man/runsvchdir.8
@@ -47,14 +47,8 @@ exits 0 on success.
 runsvdir(8),
 runit(8),
 runit-init(8),
-runsv(8),
-runsvctrl(8),
-runsvstat(8),
-chpst(8),
-svlogd(8),
-utmpset(8),
-svwaitdown(8),
-svwaitup(8)
+sv(8),
+runsv(8)
 .P
 http://smarden.org/runit/
 .SH AUTHOR
diff --git a/man/runsvctrl.8 b/man/runsvctrl.8
index 0dd2e3d..b653791 100644
--- a/man/runsvctrl.8
+++ b/man/runsvctrl.8
@@ -106,18 +106,16 @@ The maximum is 100.
 .B runsvctrl
 exits 111 on error.
 .SH SEE ALSO
+sv(8),
 runsv(8),
-runsvstat(8),
 chpst(8),
 svlogd(8),
 runit(8),
 runit-init(8),
 runsvdir(8),
 runsvchdir(8),
-utmpset(8),
-svwaitdown(8),
-svwaitup(8)
+runsvstat(8)
 .P
- http://smarden.org/runit/
+http://smarden.org/runit/
 .SH AUTHOR
 Gerrit Pape <pape@smarden.org>
diff --git a/man/runsvdir.8 b/man/runsvdir.8
index 1a63e81..7aa7249 100644
--- a/man/runsvdir.8
+++ b/man/runsvdir.8
@@ -59,8 +59,8 @@ argument is given to
 .BR runsvdir ,
 all output to standard error is redirected to this
 .IR log ,
-which is similar to the
-.BR readproctitle (8)
+which is similar to the daemontools'
+.B readproctitle
 log.
 To see the most recent error messages, use a process-listing tool such as
 .BR ps (1).
@@ -86,17 +86,14 @@ receives a HUP signal, it sends a TERM signal to each
 .BR runsv (8)
 process it is monitoring and then exits with 111.
 .SH SEE ALSO
+sv(8),
 runsv(8),
+runsvchdir(8),
 runit(8),
 runit-init(8),
-runsvchdir(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
 svlogd(8),
 utmpset(8),
-svwaitdown(8),
-svwaitup(8),
 setsid(2)
 .P
 http://smarden.org/runit/
diff --git a/man/runsvstat.8 b/man/runsvstat.8
index 05bb491..e6ac2e1 100644
--- a/man/runsvstat.8
+++ b/man/runsvstat.8
@@ -55,17 +55,16 @@ The maximum is 100.
 .B runsvstat
 exits 111 on error.
 .SH SEE ALSO
+sv(8),
 runsv(8),
-runsvctrl(8),
 chpst(8),
 svlogd(8),
 runit(8),
 runit-init(8),
 runsvdir(8),
 runsvchdir(8),
-svwaitdown(8),
-svwaitup(8)
+runsvctrl(8)
 .P
- http://smarden.org/runit/
+http://smarden.org/runit/
 .SH AUTHOR
 Gerrit Pape <pape@smarden.org>
diff --git a/man/sv.8 b/man/sv.8
index 8cb1bc7..419dfb6 100644
--- a/man/sv.8
+++ b/man/sv.8
@@ -242,10 +242,10 @@ it exits 3 if the service is down, and 4 if the status is unknown.
 It exits 2 on wrong usage, and 151 on error.
 .SH SEE ALSO
 runsv(8),
-runsvdir(8),
-runsvchdir(8),
 chpst(8),
 svlogd(8),
+runsvdir(8),
+runsvchdir(8),
 runit(8),
 runit-init(8)
 .P
diff --git a/man/svlogd.8 b/man/svlogd.8
index 2a5f1f3..677ff8e 100644
--- a/man/svlogd.8
+++ b/man/svlogd.8
@@ -34,9 +34,9 @@ contains some number of old log files, and the current log file
 .IR current .
 Old log files have a file name starting with
 .I @
-followed by a precise timestamp (see
-.BR tai64n (8)),
-indicating when
+followed by a precise timestamp (see the daemontools'
+.B tai64n
+program), indicating when
 .I current
 was rotated and renamed to this file.
 .P
@@ -328,13 +328,30 @@ matches any string.
 Timestamps optionally added by
 .B svlogd
 are not considered part of the log message.
+.P
+An
+.B svlogd
+pattern is not a regular expression.
+For example consider a log message like this
+.P
+ 2005-12-18_09:13:50.97618 tcpsvd: info: pid 1977 from 10.4.1.14
+.P
+The following pattern doesn't match
+.P
+ -*pid*
+.P
+because the first star matches up to the first p in tcpsvd, and then the
+match fails because i is not s.
+To match this log message, you can use a pattern like this instead
+.P
+ -*: *: pid *
 .SH OPTIONS
 .TP
 .B \-t
 timestamp.
-Prefix each selected line with a precise timestamp (see
-.BR tai64n (8))
-when writing to
+Prefix each selected line with a precise timestamp (see the daemontools'
+.B tai64n
+program) when writing to
 .I log
 or to standard error.
 .TP
@@ -415,16 +432,13 @@ with a non empty
 .I current
 log file.
 .SH SEE ALSO
+sv(8),
 runsv(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
 runit(8),
 runit-init(8),
 runsvdir(8),
-runsvchdir(8),
-utmpset(8),
-multilog(8)
+runsvchdir(8)
 .P
 http://smarden.org/runit/
 .SH AUTHOR
diff --git a/man/svwaitdown.8 b/man/svwaitdown.8
index eb1bec4..e224b3c 100644
--- a/man/svwaitdown.8
+++ b/man/svwaitdown.8
@@ -95,17 +95,15 @@ returns 111 on error, or if the timeout
 .I sec
 was reached.
 .SH SEE ALSO
-svwaitup(8),
+sv(8),
 runsv(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
 svlogd(8),
 runit(8),
 runit-init(8),
 runsvdir(8),
 runsvchdir(8),
-utmpset(8)
+svwaitup(8)
 .P
 http://smarden.org/runit/
 .SH AUTHOR
diff --git a/man/svwaitup.8 b/man/svwaitup.8
index 5d6e151..badfb22 100644
--- a/man/svwaitup.8
+++ b/man/svwaitup.8
@@ -88,17 +88,15 @@ The maximum is 100.
 .B svwaitup
 returns 111 on error.
 .SH SEE ALSO
-svwaitdown(8),
+sv(8),
 runsv(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
 svlogd(8),
 runit(8),
 runit-init(8),
 runsvdir(8),
 runsvchdir(8),
-utmpset(8)
+svwaitdown(8)
 .P
 http://smarden.org/runit/
 .SH AUTHOR
diff --git a/man/utmpset.8 b/man/utmpset.8
index 8272af7..c93fe83 100644
--- a/man/utmpset.8
+++ b/man/utmpset.8
@@ -48,13 +48,12 @@ to the wtmp file.
 .B utmpset
 returns 111 on error, 1 on wrong usage, 0 in all other cases.
 .SH SEE ALSO
+sv(8),
+runsv(8),
 runit(8),
 runit-init(8)
 runsvdir(8),
 runsvchdir(8),
-runsv(8),
-runsvctrl(8),
-runsvstat(8),
 chpst(8),
 svlogd(8),
 getty(8)