diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/chpst.8 | 13 | ||||
-rw-r--r-- | man/sv.8 | 24 |
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 |