diff options
author | Gerrit Pape <pape@smarden.org> | 2004-09-21 18:08:37 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2004-09-21 18:08:37 +0000 |
commit | b23a59b512c26497755ab68ba9fd464cf574a5f3 (patch) | |
tree | 200eef2a79040b98696fd01750add52a616eaacc /man | |
parent | f0f2b280c58a5ce85c9e3cb3a581ca6b0bc70105 (diff) | |
download | runit-b23a59b512c26497755ab68ba9fd464cf574a5f3.tar.gz runit-b23a59b512c26497755ab68ba9fd464cf574a5f3.tar.xz runit-b23a59b512c26497755ab68ba9fd464cf574a5f3.zip |
* runsvdir.c: new option -P, run each runsv process in a new session and
process group (thx Charlie Brady). * man/runsvdir.8: adapt; typo.
Diffstat (limited to 'man')
-rw-r--r-- | man/runsvdir.8 | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/man/runsvdir.8 b/man/runsvdir.8 index 685b450..1a63e81 100644 --- a/man/runsvdir.8 +++ b/man/runsvdir.8 @@ -3,6 +3,7 @@ runsvdir \- starts and monitors a collection of runsv(8) processes .SH SYNOPSIS .B runsvdir +[\-P] .I dir [ .I log @@ -27,12 +28,12 @@ must be in .BR runsvdir 's PATH. .P -At least every five seconds, +At least every five seconds .B runsvdir -checks if +checks whether the services directory .I dir has changed. -If it sees a new subdirectory in services directory +If it sees a new subdirectory in .IR dir , it starts a new .BR runsv (8) @@ -66,12 +67,14 @@ To see the most recent error messages, use a process-listing tool such as .B runsvdir writes a dot to the readproctitle log every 15 minutes so that old error messages expire. -.P -Normally -.B runsvdir -is started by -.BR runit (8) -in stage 2. +.SH OPTIONS +.TP +.B \-P +use +.BR setsid (2) +to run each +.BR runsv (8) +process in a new session and separate process group. .SH SIGNALS If .B runsvdir @@ -93,7 +96,8 @@ chpst(8), svlogd(8), utmpset(8), svwaitdown(8), -svwaitup(8) +svwaitup(8), +setsid(2) .P http://smarden.org/runit/ .SH AUTHOR |