Conversation
|
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.
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 |
Yeah. There may be more ancient issues fixed |
Curious. I looked at the commit. All the 'Bug Fixes' listed here. Those are fixes in WinSW I assume? Since commit simply updated the executable. |
|
@coreybutler did you move to the go solution or solve the .net 4.x problem another way? |
|
@gcoon151 I've not moved on this at all. This library has an extremely outdated code base with outdated dependencies. It still works, but it really needs a fresh sweep. I intend to create something new, but I'm not entirely sure what form that will take. I'm increasingly of the mindset that service management should be a standalone tool, not an embeddable module. There's a lot of overlap with NVM for Windows, or more specifically, the work we're doing on the successor project (Runtime/Author). That's the direction I'm exploring at the moment. |
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, andstoptimeoutoptions from XML configs with metadata beforesettings.uninstallcommand when the service cannot be uninstalled immediately.stopargumentsare defined withoutstopexecutablein the XML file.Process.Kill()if the process actually exits.Compatibility notes