From 05dd48613e140530ed4feea11db539fa1158eefb Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Sun, 28 Mar 2004 18:17:35 +0000 Subject: * man/svlogd.8: timestamps are not considered when matching patterns (thx Andras KORN). * runsv.c: on exit run the finish scripts when taking the service down (thx X.). * runsv.c, runsvctrl.c: handle sig_quit (thx Wayne Marshall). * svlogd.c: don't crash on zero byte long config file (thx Alex Efros). * man/*: minor cleanup. --- man/runsvdir.8 | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'man/runsvdir.8') diff --git a/man/runsvdir.8 b/man/runsvdir.8 index 7b6470d..9065bbc 100644 --- a/man/runsvdir.8 +++ b/man/runsvdir.8 @@ -31,19 +31,21 @@ At least every five seconds, .B runsvdir checks if .I dir -has changed. If it sees a new subdirectory in +has changed. +If it sees a new subdirectory in .IR dir , it starts a new .BR runsv (8) -process. If it sees an old sudirectory where a +process. +If it sees an old sudirectory where a .BR runsv (8) process has exited, it restarts the .BR runsv (8) process. If .B runsvdir -sees a subdirectory being removed that was previously there, it sends -the corresponding +sees a subdirectory being removed that was previously there, it sends the +corresponding .BR runsv (8) process a TERM signal, stops monitoring this process, and so does not restart the @@ -58,12 +60,12 @@ all output to standard error is redirected to this .IR log , which is similar to the .BR readproctitle (8) -log. To see the most recent error messages, use a process-listing tool -such as +log. +To see the most recent error messages, use a process-listing tool such as .BR ps (1). .B runsvdir -writes a dot to the readproctitle log every 15 minutes so that old -error messages expire. +writes a dot to the readproctitle log every 15 minutes so that old error +messages expire. .P Normally .B runsvdir @@ -81,15 +83,17 @@ receives a HUP signal, it sends a TERM signal to each .BR runsv (8) process it is monitoring and then exits with 111. .SH SEE ALSO -runsvchdir(8), runsv(8), -runsvctrl(8), -runsvstat(8), runit(8), runit-init(8), +runsvchdir(8), +runsvctrl(8), +runsvstat(8), +chpst(8), svlogd(8), +utmpset(8), svwaitdown(8), -svwaitup(8), +svwaitup(8) .P http://smarden.org/runit/ .SH AUTHOR -- cgit 1.4.1