From b23a59b512c26497755ab68ba9fd464cf574a5f3 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Tue, 21 Sep 2004 18:08:37 +0000 Subject: * runsvdir.c: new option -P, run each runsv process in a new session and process group (thx Charlie Brady). * man/runsvdir.8: adapt; typo. --- man/runsvdir.8 | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'man') 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 -- cgit 1.4.1