diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/runsvdir.8 | 23 | ||||
-rw-r--r-- | man/svlogd.8 | 10 |
2 files changed, 20 insertions, 13 deletions
diff --git a/man/runsvdir.8 b/man/runsvdir.8 index 7aa7249..adfa587 100644 --- a/man/runsvdir.8 +++ b/man/runsvdir.8 @@ -18,9 +18,13 @@ characters long or absent. .B runsvdir starts a .BR runsv (8) -process for each subdirectory in the services directory +process for each subdirectory, or symlink to a directory, in the services +directory .IR dir , -up to a limit of 1000 subdirectories. +up to a limit of 1000 subdirectories, +and restarts a +.BR runsv (8) +process if it terminates. .B runsvdir skips subdirectory names starting with dots. .BR runsv (8) @@ -30,20 +34,17 @@ PATH. .P At least every five seconds .B runsvdir -checks whether the services directory +checks whether the time of last modification, the inode, or the device, of +the services directory .I dir has changed. -If it sees a new subdirectory in +If so, it re-scans the service directory, and if it sees a new subdirectory, +or new symlink to a directory, in .IR dir , it starts a new .BR runsv (8) -process. -If it sees an old sudirectory where a -.BR runsv (8) -process has exited, it restarts the -.BR runsv (8) -process. -If +process; +if .B runsvdir sees a subdirectory being removed that was previously there, it sends the corresponding diff --git a/man/svlogd.8 b/man/svlogd.8 index 677ff8e..e8b03b7 100644 --- a/man/svlogd.8 +++ b/man/svlogd.8 @@ -158,8 +158,7 @@ exists, and if so, reads the file line by line and adjusts configuration for .I log as follows: .P -If the line is empty, less than two characters long, or starts with a ``#'', -it is ignored. +If the line is empty, or starts with a ``#'', it is ignored. A line of the form .TP .RI s size @@ -272,6 +271,13 @@ but transmitted through udp only. Error messages from .B svlogd concerning sending udp packages still go to the log directory. +.TP +.RI p prefix +tells +.B svlogd +to prefix each line to be written to the log directory, to standard error, +or through UDP, with +.IR prefix . .P If a line starts with a .IR \- , |