|
@@ -21,8 +21,7 @@ See the [project manifest](MANIFEST.md).
|
|
|
|
|
|
## Supported platforms
|
|
## Supported platforms
|
|
|
|
|
|
-WinSW offers executables for .NET Framework 2.0, 4.0 and 4.6.1.
|
|
|
|
-It can run on Windows platforms which have these versions of .NET Framework installed.
|
|
|
|
|
|
+WinSW 3 can run on Windows platforms with .NET Framework 4.6.1 or later versions installed.
|
|
For systems without .NET Framework, the project provides native 64-bit and 32-bit executables based on .NET Core.
|
|
For systems without .NET Framework, the project provides native 64-bit and 32-bit executables based on .NET Core.
|
|
|
|
|
|
More executables can be added upon request.
|
|
More executables can be added upon request.
|
|
@@ -42,64 +41,35 @@ WinSW is being managed by the [XML configuration file](docs/xml-config-file.md).
|
|
|
|
|
|
Your renamed *WinSW.exe* binary also accepts the following commands:
|
|
Your renamed *WinSW.exe* binary also accepts the following commands:
|
|
|
|
|
|
-* `install`
|
|
|
|
-
|
|
|
|
- Install the service to Windows Service Controller.
|
|
|
|
- This command requires some preliminary steps described in the [Installation guide](docs/installation.md).
|
|
|
|
-
|
|
|
|
-* `uninstall`
|
|
|
|
-
|
|
|
|
- Uninstall the service. The opposite operation of above.
|
|
|
|
-
|
|
|
|
-* `start`
|
|
|
|
-
|
|
|
|
- Start the service. The service must have already been installed.
|
|
|
|
-
|
|
|
|
-* `stop`
|
|
|
|
-
|
|
|
|
- Stop the service.
|
|
|
|
-
|
|
|
|
-* `stopwait`
|
|
|
|
-
|
|
|
|
- Stop the service and wait until it's actually stopped.
|
|
|
|
-
|
|
|
|
-* `restart`
|
|
|
|
-
|
|
|
|
- Restart the service. If the service is not currently running, this command acts like `start`.
|
|
|
|
-
|
|
|
|
-* `status`
|
|
|
|
-
|
|
|
|
- Check the current status of the service.
|
|
|
|
- * This command prints one line to the console.
|
|
|
|
- * `NonExistent` indicates the service is not currently installed
|
|
|
|
- * `Started` to indicate the service is currently running
|
|
|
|
- * `Stopped` to indicate that the service is installed but not currently running.
|
|
|
|
|
|
+| Command | Description |
|
|
|
|
+| ----------- | ----------- |
|
|
|
|
+| [install](docs/cli-commands.md#install-command) | Installs the service. This command requires some preliminary steps described in the [installation guide](docs/installation.md). |
|
|
|
|
+| [uninstall](docs/cli-commands.md#uninstall-command) | Uninstalls the service. |
|
|
|
|
+| [start](docs/cli-commands.md#start-command) | Starts the service. |
|
|
|
|
+| [stop](docs/cli-commands.md#stop-command) | Stops the service. |
|
|
|
|
+| [restart](docs/cli-commands.md#restart-command) | Stops and then starts the service. |
|
|
|
|
+| [status](docs/cli-commands.md#status-command) | Checks the status of the service. |
|
|
|
|
+| [test](docs/cli-commands.md#test-command) | Checks if the service can be started and then stopped without installation. |
|
|
|
|
+| [refresh](docs/cli-commands.md#refresh-command) | Refreshes the service properties without reinstallation. |
|
|
|
|
|
|
Most commands require Administrator privileges to execute. Since 2.8, WinSW will prompt for UAC in non-elevated sessions.
|
|
Most commands require Administrator privileges to execute. Since 2.8, WinSW will prompt for UAC in non-elevated sessions.
|
|
|
|
|
|
## Documentation
|
|
## Documentation
|
|
|
|
|
|
-User documentation:
|
|
|
|
-
|
|
|
|
-* [Installation guide](docs/installation.md) - Describes the installation process for different systems and .NET versions
|
|
|
|
-* [Migration guide](docs/migrate-to-3-x) - Migrate to WinSW 3.x.
|
|
|
|
|
|
+* [Get started](docs/installation.md)
|
|
|
|
+* [Migrate to WinSW 3.x](docs/migrate-to-3-x)
|
|
* Configuration:
|
|
* Configuration:
|
|
- * [Main XML configuration file](docs/xml-config-file.md)
|
|
|
|
- * [EXE configuration file](docs/exe-config-file.md)
|
|
|
|
|
|
+ * [XML configuration file](docs/xml-config-file.md)
|
|
* [Logging and error reporting](docs/logging-and-error-reporting.md)
|
|
* [Logging and error reporting](docs/logging-and-error-reporting.md)
|
|
* [Extensions](docs/extensions/extensions.md)
|
|
* [Extensions](docs/extensions/extensions.md)
|
|
-* Use-cases:
|
|
|
|
|
|
+ * [Shared Directory Mapper](docs/extensions/shared-directory-mapper.md)
|
|
|
|
+* Use cases:
|
|
* [Self-restarting services](docs/self-restarting-service.md)
|
|
* [Self-restarting services](docs/self-restarting-service.md)
|
|
* [Deferred file operations](docs/deferred-file-operations.md)
|
|
* [Deferred file operations](docs/deferred-file-operations.md)
|
|
|
|
|
|
-Developer documentation:
|
|
|
|
-
|
|
|
|
-* [Developer guide](DEVELOPER.md)
|
|
|
|
-
|
|
|
|
## Contributing
|
|
## Contributing
|
|
|
|
|
|
Contributions are welcome!
|
|
Contributions are welcome!
|
|
-No Contributor License Agreement is needed, just submit your pull requests.
|
|
|
|
See the [contributing guidelines](CONTRIBUTING.md) for more information.
|
|
See the [contributing guidelines](CONTRIBUTING.md) for more information.
|
|
|
|
|
|
## License
|
|
## License
|