Open nxtn opened 3 years ago
I'll consider this, depending on how much time I get. I've been working on an alternative to winsw, so this may not be necessary.
We're now building WinSW 3, and it's surprising to see this project is still using WinSW 1. A large number of issues in this repo have been resolved in the upstream.
I've been working on an alternative to winsw
Why reinvent the wheel? Is it written in Golang?
Yes, alternative is in Go. It's not recreating the wheel for me, because I'm building it for another effort.
Again, not opposed to merging this, I just need to test it/confirm and make sure I can continue to support it.
Sounds good. I'm also considering rewriting WinSW in a different language, but I don't regard Go as a competitive choice. I would prefer a native language like Rust this time.
Would this also address issue #53 and allow node-windows
to set a StartupType?
Would this also address issue #53 and allow
node-windows
to set a StartupType?
Yeah. There may be more ancient issues fixed
WinSW 2 carries a logging framework so the binary is a bit larger.
Also removes .NET 2 support. Who is using .NET 2 these days?
Fixes #47
Bug fixes
waithint
,sleeptime
,resetfailure
, andstoptimeout
options from XML configs with metadata beforesettings
.uninstall
command when the service cannot be uninstalled immediately.stoparguments
are defined withoutstopexecutable
in the XML file.Process.Kill()
if the process actually exits.Compatibility notes