mirror of
https://github.com/winsw/winsw.git
synced 2025-12-10 18:37:28 +08:00
Revise docs for 3.0.0-alpha.2 (#594)
* Update links * Remove `<waithint>` and `<sleeptime>` * Create cli-commands.md * Update migrate-to-3-x.md * Update the Usage section * Fix broken link * Add `--force` to `stop` and `restart` * CAUTION * WIP Add extra steps * Split removals * Update additional commands * Update cli-commands.md * Update README.md * Update README.md * NOTE * Update copyright texts * Temporarily skip failing test * Suggest using command-line options
This commit is contained in:
@@ -123,6 +123,23 @@ When you use the `<stopargument>`/`<stoparguments>`, you must use `<startargumen
|
||||
<stopargument>stop</stopargument>
|
||||
```
|
||||
|
||||
### Additional commands
|
||||
|
||||
```xml
|
||||
<prestart|poststart|prestop|poststop>
|
||||
<executable></executable>
|
||||
<arguments></arguments>
|
||||
</prestart|poststart|prestop|poststop>
|
||||
```
|
||||
|
||||
The pre-start command is executed when the service is starting and before the main process is started.
|
||||
|
||||
The post-start command is executed when the service is running and after the main process is started.
|
||||
|
||||
The pre-stop command is executed when the service is stopping and before the main process is stopped.
|
||||
|
||||
The post-stop command is executed when the service is stopping and after the main process is stopped.
|
||||
|
||||
### stoptimeout
|
||||
|
||||
When the service is requested to stop, winsw first attempts to send a Ctrl+C signal,
|
||||
|
||||
Reference in New Issue
Block a user