summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2005-08-23 22:36:27 +0000
committerGerrit Pape <pape@smarden.org>2005-08-23 22:36:27 +0000
commit84457fd2a4bfb662aacd11f9106323efe4b2f915 (patch)
treef9f062142b6fc5c063571cb7ba0b677d5be9546a /man
parente99bbdcb0d7f846f39fb1ee10879ea9d19f99d55 (diff)
downloadrunit-84457fd2a4bfb662aacd11f9106323efe4b2f915.tar.gz
runit-84457fd2a4bfb662aacd11f9106323efe4b2f915.tar.xz
runit-84457fd2a4bfb662aacd11f9106323efe4b2f915.zip
* doc/runscripts.html: typo; openssh needs absolute path (thx Kevin Berry);
    exec into dhcpcd.
  * uidgid.c, uidgid.h, chpst.c: support colon-separated list of groups.
  * sv.c: utilize optional ./check script in service directory to check for
    availablity of service.
  * runsv.c: wait_pid() might be interupted.
  * man/chpst.8, man/sv.8: adapt.
Diffstat (limited to 'man')
-rw-r--r--man/chpst.813
-rw-r--r--man/sv.824
2 files changed, 36 insertions, 1 deletions
diff --git a/man/chpst.8 b/man/chpst.8
index ae158cb..7594fa8 100644
--- a/man/chpst.8
+++ b/man/chpst.8
@@ -50,7 +50,12 @@ set the gid to
 gid instead of
 .IR user 's
 gid.
-All supplementary groups are removed.
+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 \-U \fIuser[:group]
 envuidgid.
@@ -66,6 +71,12 @@ 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.
diff --git a/man/sv.8 b/man/sv.8
index 49d21b2..8cb1bc7 100644
--- a/man/sv.8
+++ b/man/sv.8
@@ -95,6 +95,14 @@ Same as
 .IR up ,
 but wait up to 7 seconds for the command to take effect.
 Then report the status or timeout.
+If the script
+.I ./check
+exists in the service directory,
+.B sv
+runs this script to check whether the service is up and available;
+it's considered to be available if
+.I ./check
+exits with 0.
 .TP
 .B stop
 Same as
@@ -110,6 +118,14 @@ and
 .I up
 to the service, and wait up to 7 seconds for the service to restart.
 Then report the status or timeout.
+If the script
+.I ./check
+exists in the service directory,
+.B sv
+runs this script to check whether the service is up and available again;
+it's considered to be available if
+.I ./check
+exits with 0.
 .TP
 .B shutdown
 Same as
@@ -147,6 +163,14 @@ commands, and wait up to 7 seconds for the service to restart.
 Then report the status, and on timeout send the service the
 .I kill
 command.
+If the script
+.I ./check
+exists in the service directory,
+.B sv
+runs this script to check whether the service is up and available again;
+it's considered to be available if
+.I ./check
+exits with 0.
 .TP
 .B force-shutdown
 Same as