From 074672655ec58fe5846a68e5de7716a2cb9acb86 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Thu, 26 Sep 2024 01:12:53 +0000 Subject: CHANGES, fix man/chpst.8, adapt doc/chpst.8.html --- doc/chpst.8.html | 7 ++++++- man/chpst.8 | 2 ++ package/CHANGES | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/chpst.8.html b/doc/chpst.8.html index c481ce2..095822c 100644 --- a/doc/chpst.8.html +++ b/doc/chpst.8.html @@ -12,7 +12,7 @@ chpst - runs a program with a changed process state

Synopsis

chpst [-vVP012] -[-u user] [-U user] [-b argv0] [-e dir] [-/ root] [-n inc] [-l|-L lock] [-m bytes] [-d bytes] +[-u user] [-U user] [-b argv0] [-e dir] [-/ root] [-C pwd] [-n inc] [-l|-L lock] [-m bytes] [-d bytes] [-o n] [-p n] [-f bytes] [-c bytes] [-t seconds] prog

Description

prog consists of one or @@ -59,6 +59,11 @@ without adding a new variable.
chroot. Change the root directory to root before starting prog.
+
-C pwd
+
chdir. Change the working directory to +pwd before starting prog. +When combined with -/, the working directory is changed after the chroot.
+
-n inc
nice. Add inc to the nice(2) value before starting prog. inc must be an integer, and may start with a minus or plus. diff --git a/man/chpst.8 b/man/chpst.8 index 57074d4..f13081c 100644 --- a/man/chpst.8 +++ b/man/chpst.8 @@ -14,6 +14,8 @@ chpst \- runs a program with a changed process state .IR dir ] [\-/ .IR root ] +[\-C +.IR pwd ] [\-n .IR inc ] [-l|-L diff --git a/package/CHANGES b/package/CHANGES index bb28edb..7a4aced 100644 --- a/package/CHANGES +++ b/package/CHANGES @@ -1,3 +1,5 @@ + * chpst.c, man/chpst.8: add -C option to change working directory (thx + Andrew J. Hesford, void linux). * doc/install.html: add link to sha256sum. * doc/install.html, doc/replaceinit.html: change mail address. * package/TODO: remove. -- cgit 1.4.1