And then set that up as a windows service with WinSw. Source: 12 months ago
I am using Windows Service Wrapper to convert some net programs (tor, frp, etc.) into autostart background services. It seems I can choose which user to use when launch these custom services. Coming from a Linux background, I am a little bit confused and overwhelmed by the Windows account and permission systems. I am wondering what's the best practice? Use Local System (probably not, it has very high privileges)?... Source: over 1 year ago
We use a third party library (winsw) to package our exe as a windows-serice. Source: over 1 year ago
It's been a while since I don't do anything similar, but one of the most popular is NSSM (the Non-Sucking Service Manager) and another open and free alternative would be WinSW (Windows Service Wrapper). Source: over 1 year ago
There are projects which wrap an existing exe file and handle the service stuff for you, for example winsw or DaemonMaster. Another option is to write the service yourself, there's a Go package for that: https://pkg.go.dev/golang.org/x/sys/windows/svc. Source: over 1 year ago
No idea about RunAsService, but I too have a Dart executable running as a service and I am using WinSW and it runs without issue. Source: almost 2 years ago
If the program can't run directly as a service itself, you need a wrapper. Back in the day a program called NSSM was popular for this, but it's been unmaintained for many years so now you should use WinSW which is MIT-licensed, modern, actively maintained and easy to use. Source: almost 2 years ago
We use https://github.com/winsw/winsw without any problems for years. Source: about 2 years ago
I posted a tangentially related post where I mentioned nssm, and apparently this is the new and actually maintained nssm: https://github.com/winsw/winsw. Source: over 2 years ago
I knew about https://github.com/winsw/winsw for making EXE's a service, but it doesn't present a GUI. It looks like if their informational bullet points are accurate this may be exactly what I need. Thanks so much! I will test and report back. Source: about 3 years ago
You should use this instead of the old and dead NSSM: https://github.com/winsw/winsw. Source: about 3 years ago
Do you know an article comparing WinSW to other products?
Suggest a link to a post with product alternatives.
This is an informative page about WinSW. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.