From cd9958b87c1ac05fb0a0cd0ef32d4e6d529373c9 Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Thu, 6 Aug 2020 15:40:35 +0800 Subject: [PATCH] Add `stdoutPath`/`stderrPath` --- docs/xml-config-file.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/xml-config-file.md b/docs/xml-config-file.md index a97b87a..df7ca76 100644 --- a/docs/xml-config-file.md +++ b/docs/xml-config-file.md @@ -133,6 +133,8 @@ When you use the ``, you must use `` instead of ` + + ``` @@ -144,6 +146,12 @@ The pre-stop command is executed when the service is stopping and before the mai The post-stop command is executed when the service is stopping and after the main process is stopped. +`stdoutPath` specifies the path to redirect the standard output to. + +`stderrPath` specifies the path to redirect the standard error output to. + +Specify `NUL` in `stdoutPath` or `stderrPath` to dispose of the corresponding stream. + ### Preshutdown ```xml