nssm is a service helper which doesn't suck. srvany and other service helper programs suck because they don't handle failure of the application running as a service. If you use such a program you may see a service listed as started when in fact the application has died. nssm monitors the running service and will restart it if it dies. With nssm you know that if a service says it's running, it really is. Alternatively, if your application is well-behaved you can configure nssm to absolve all responsibility for restarting it and let Windows take care of recovery actions.
Install-Package NSSM -Version 2.24.0
dotnet add package NSSM --version 2.24.0
<PackageReference Include="NSSM" Version="2.24.0" />
paket add NSSM --version 2.24.0
#r "nuget: NSSM, 2.24.0"
// Install NSSM as a Cake Addin #addin nuget:?package=NSSM&version=2.24.0 // Install NSSM as a Cake Tool #tool nuget:?package=NSSM&version=2.24.0
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NSSM:
Nssm shutdown event
This package is not used by any popular GitHub repositories.