From ae637de6261b0da99af76b0535bb2562c27a784e Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Tue, 3 Sep 2024 19:20:40 +0100 Subject: [PATCH] Clarify the stdout/stderr config options Closes: https://github.com/nginx/unit-docs/issues/147 Signed-off-by: Andrew Clayton --- source/configuration.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/source/configuration.rst b/source/configuration.rst index 163e9027..462c85c3 100644 --- a/source/configuration.rst +++ b/source/configuration.rst @@ -3312,14 +3312,15 @@ shared between all application languages: * - **stderr**, **stdout** - Strings; - filenames where Unit redirects - the application's output. + filenames where Unit redirects the application's output. - The default is **/dev/null**. + The default when running *with* **--no-daemon** is to send + *stdout* to the *console* and *stderr* to Unit's *log*. - When running in **--no-daemon** mode, application output - is always redirected to - :ref:`Unit's log file `. + The default when running *without* **--no-daemon** is to send + *stdout* to */dev/null* and *stderr* to Unit's *log*. + + These options have *no* effect when running with **--no-daemon**. * - **user** - String;