Go to file
NextTurn 4d187eb882 Leave STDIN open 2020-07-28 13:44:57 +08:00
.github Add a Dependabot configuration (#558) 2020-06-26 12:51:37 +02:00
docs Remove `<*argument>` 2020-07-28 09:55:11 +08:00
eng Publish self-contained archives 2020-07-22 10:20:00 +08:00
samples Make `<name>` and `<description>` optional 2020-07-28 09:55:00 +08:00
src Leave STDIN open 2020-07-28 13:44:57 +08:00
.gitattributes Add .gitattributes 2020-07-20 22:57:25 -07:00
.gitignore Remove strong name signing 2020-04-16 12:19:59 +08:00
CONTRIBUTING.md Rename docs for SEO 2020-07-17 09:48:54 +08:00
Directory.Build.props Standardize coding styles 2020-07-18 10:31:55 +08:00
LICENSE.txt Revise docs for 3.0.0-alpha.2 (#594) 2020-07-28 08:35:18 +08:00
MANIFEST.md Clean up documentation 2020-04-01 13:02:47 +08:00
README.md Revise docs for 3.0.0-alpha.2 (#594) 2020-07-28 08:35:18 +08:00
WinSW.nuspec Revise docs for 3.0.0-alpha.2 (#594) 2020-07-28 08:35:18 +08:00

README.md

Windows Service Wrapper in a permissive license

Github All Releases GitHub Release NuGet Build Status Deployment Status Gitter License

WinSW is an executable binary, which can be used to wrap and manage a custom process as a Windows service. Once you download the installation package, you can rename WinSW.exe to any name, e.g. MyService.exe.

We are actively developing WinSW v3. Please refer to the v2 branch for previous version documentation.

Please help us prioritize items by voting or commenting on the issues!

Why?

See the project manifest.

Supported platforms

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.

More executables can be added upon request.

Download

WinSW binaries are available on GitHub Releases and NuGet.

Alternative sources:

Usage

WinSW is being managed by the XML configuration file.

Your renamed WinSW.exe binary also accepts the following commands:

Command Description
install Installs the service. This command requires some preliminary steps described in the installation guide.
uninstall Uninstalls the service.
start Starts the service.
stop Stops the service.
restart Stops and then starts the service.
status Checks the status of the service.
test Checks if the service can be started and then stopped without installation.
refresh 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.

Documentation

Contributing

Contributions are welcome! See the contributing guidelines for more information.

License

WinSW is licensed under the MIT license.