summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-09-01 11:06:05 +0000
committerGerrit Pape <pape@smarden.org>2003-09-01 11:06:05 +0000
commit48ceb915031799f5d5bdb4e0b83386efaa5943bf (patch)
tree45988d0dc1cff06aba3c418ac182e47636e4e2ea /man
parent27201625fb99184e94c82513040ad52ee2b84972 (diff)
downloadrunit-48ceb915031799f5d5bdb4e0b83386efaa5943bf.tar.gz
runit-48ceb915031799f5d5bdb4e0b83386efaa5943bf.tar.xz
runit-48ceb915031799f5d5bdb4e0b83386efaa5943bf.zip
* svlogd.c: barf if all log directories given at the command line fail.
  * man/svlogd.8: adapt.
0.11.1.
Diffstat (limited to 'man')
-rw-r--r--man/svlogd.819
1 files changed, 18 insertions, 1 deletions
diff --git a/man/svlogd.8 b/man/svlogd.8
index 7114bba..7448c00 100644
--- a/man/svlogd.8
+++ b/man/svlogd.8
@@ -26,7 +26,6 @@ can be told to alert selected log messages to standard error.
 .B svlogd
 runs until it sees end-of-file on standard input or is sent a TERM signal,
 see below.
-
 .SS LOG DIRECTORY
 A log directory
 .I log
@@ -50,6 +49,16 @@ and optionally the file
 .IR config .
 .B svlogd
 creates necessary files if they don't exist.
+.P
+If
+.B svlogd
+has trouble opening a log directory, it prints a warning, and ignores this
+log directory.
+If
+.B svlogd
+is unable to open all log directories given at the command line, it exits
+with an error.
+This can happen on start-up or after receiving a HUP signal.
 .SS LOG FILE ROTATION
 .B svlogd
 appends selected log messages to the
@@ -298,6 +307,14 @@ is sent a HUP signal, it closes and reopens all
 .IR logs ,
 and updates their configuration according to
 .IR log/config .
+If
+.B svlogd
+has trouble opening a log directory, it prints a warning, and discards this
+log directory.
+If
+.B svlogd
+is unable to open all log directories given at the command line, it exits
+with an error.
 .P
 If
 .B svlogd