From 427abde529a221406fe8f484b130f371a1a6177b Mon Sep 17 00:00:00 2001
From: Next Turn <45985406+NextTurn@users.noreply.github.com>
Date: Thu, 6 Aug 2020 17:43:33 +0800
Subject: [PATCH] Use valid XML
---
docs/xml-config-file.md | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/docs/xml-config-file.md b/docs/xml-config-file.md
index 0bfeedb..711b00a 100644
--- a/docs/xml-config-file.md
+++ b/docs/xml-config-file.md
@@ -114,6 +114,7 @@ The `` element specifies the arguments to be passed to the executable
arg2
arg3
+```
### stopargument/stopexecutable
@@ -135,20 +136,38 @@ When you use the ``, you must use `` instead of `
### Additional commands
```xml
-
+
-
+
```
The pre-start command is executed when the service is starting and before the main process is started.
+```xml
+
+
+
+```
+
The post-start command is executed when the service is starting and after the main process is started.
+```xml
+
+
+
+```
+
The pre-stop command is executed when the service is stopping and before the main process is stopped.
+```xml
+
+
+
+```
+
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.