Go to file
NextTurn ea8b14e79f
Add commands
2020-08-10 10:44:07 +08:00
.github Add a Dependabot configuration (#558) 2020-06-26 12:51:37 +02:00
docs Add commands 2020-08-10 10:44:07 +08:00
eng Publish self-contained archives 2020-07-22 10:20:00 +08:00
samples Remove trailing spaces 2020-08-03 19:04:39 +08:00
src Remove trailing spaces 2020-08-03 19:04:39 +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 markdownlint fixes 2020-08-03 19:04:02 +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 Add commands 2020-08-10 10:44:07 +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 3. 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.

.NET Framework system requirements
Preinstalled on Windows 10, version 1511 and Windows Server 2016.
Installable on Windows 7 SP1 and Windows Server 2008 R2 SP1.

.NET 5 system requirements
Supported on Windows 7 SP1, Windows Server (Core) 2012 R2 and Nano Server, version 1809.

Download

Latest release and pre-release WinSW binaries are available on GitHub Releases.

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.
customize Customizes the wrapper executable.
dev Experimental commands.

Experimental commands:

Command Description
dev ps Draws the process tree associated with the service.
dev kill Terminates the service if it has stopped responding.

Most commands require Administrator privileges to execute. 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.