diff options
author | Z. Liu <zhixu.liu@gmail.com> | 2024-08-28 15:09:50 +0800 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2024-09-25 23:38:40 +0000 |
commit | 30281ba43b3d843cc02113f84602c09fe0702674 (patch) | |
tree | 25e26518e73d649b52155deb4e159056811f7633 /man/chpst.8 | |
parent | 150ccedbb19bfaa9eb3f1daeb54e2ecf47664921 (diff) | |
download | runit-30281ba43b3d843cc02113f84602c09fe0702674.tar.gz runit-30281ba43b3d843cc02113f84602c09fe0702674.tar.xz runit-30281ba43b3d843cc02113f84602c09fe0702674.zip |
add/update doc & man page of chpst and runsv
1. fix error in runsv for log/finish: Log ./finish script is not actually invoked. It is not clear, whether this limitation is worth lifting. 2. add options -t and -V to chpst man page; ignore -r since it's obsolete. 3. clarify in runsv.8 manpage how signal override works with control/dx copied from debian's patch: 0009-fix-error-in-manpage.patch 0027-Clarify-runsv-8-control-dx.patch 0027-Add-missing-options-to-chpst-manpage.patch links of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches
Diffstat (limited to 'man/chpst.8')
-rw-r--r-- | man/chpst.8 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/man/chpst.8 b/man/chpst.8 index 43c0b8d..26c1a1d 100644 --- a/man/chpst.8 +++ b/man/chpst.8 @@ -3,7 +3,7 @@ chpst \- runs a program with a changed process state .SH SYNOPSIS .B chpst -[\-vP012] +[\-vVP012] [\-u .IR user ] [\-U @@ -30,6 +30,8 @@ chpst \- runs a program with a changed process state .IR bytes ] [-c .IR bytes ] +[-t +.IR seconds ] .I prog .SH DESCRIPTION .I prog @@ -68,7 +70,7 @@ is prefixed with a colon, the .I user and all .I group -arguments are interpreted as uid and gids respectivly, and not looked up in +arguments are interpreted as uid and gids respectively, and not looked up in the password or group file. All initial supplementary groups are removed. .TP @@ -95,7 +97,7 @@ is prefixed with a colon, the .I user and .I group -arguments are interpreted as uid and gid respectivly, and not looked up in +arguments are interpreted as uid and gid respectively, and not looked up in the password or group file. .TP .B \-b \fIargv0 @@ -208,11 +210,21 @@ Limit the core file size to .I bytes bytes. .TP +.B \-t \fIseconds +limit CPU time. +Limit CPU time to +.I seconds +seconds, delivering a SIGXCPU thereafter. +.TP .B \-v verbose. Print verbose messages to standard error. This includes warnings about limits unsupported by the system. .TP +.B \-V +version string. +Print a version string to standard error. +.TP .B \-P pgrphack. Run |