A wrapper executable that can run any executable as a Windows service, in a permissive license.
Windows 服务封装器.
|
|
před 6 roky | |
|---|---|---|
| .github | před 5 roky | |
| doc | před 5 roky | |
| eng | před 5 roky | |
| examples | před 5 roky | |
| src | před 5 roky | |
| .gitignore | před 5 roky | |
| CHANGELOG.md | před 5 roky | |
| CONTRIBUTING.md | před 5 roky | |
| Directory.Build.props | před 5 roky | |
| Directory.Build.targets | před 5 roky | |
| LICENSE.txt | před 5 roky | |
| MANIFEST.md | před 5 roky | |
| README.md | před 5 roky | |
| WinSW.nuspec | před 5 roky | |
| appveyor.yml | před 5 roky |
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.
See the project manifest.
Starting from WinSW v2, the releases are being hosted on GitHub and NuGet.
Due to historical reasons, the project also uses the Jenkins Maven repository as a secondary source. Binaries are available here.
WinSW is being managed by configuration files: Main XML configuration file and EXE configuration file.
Your renamed WinSW.exe binary also accepts the following commands:
install to install the service to Windows Service Controller.
This command requires some preliminary steps described in the Installation guide.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.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.
NonExistent indicates the service is not currently installedStarted to indicate the service is currently runningStopped to indicate that the service is installed but not currently running.WinSW v2 offers two executables, which declare .NET Frameworks 2.0 and 4.0 as targets. More executables can be added on-demand. Please create an issue if you need such executables.
User documentation:
Developer documentation:
This is a new baseline of WinSW with several major changes:
The version v2 is fully compatible with the v1 configuration file format, hence the upgrade procedure just requires replacement of the executable file.
WinSW is licensed under the MIT license.