Merge pull request #341 from new-mikha/master

Add stopwait command - same as stop, but waits until the service is actually stopped:
This commit is contained in:
Oleg Nenashev
2020-05-10 23:18:45 +02:00
committed by GitHub
2 changed files with 25 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ Your renamed *WinSW.exe* binary also accepts the following commands:
* `uninstall` to uninstall the service. The opposite operation of above.
* `start` to start the service. The service must have already been installed.
* `stop` to stop the service.
* `stopwait` to stop the service and wait until it's actually stopped.
* `restart` to restart the service. If the service is not currently running, this command acts like `start`.
* `status` to check the current status of the service.
* This command prints one line to the console.