On 3/24/22 09:38, Heller, George A III CTR (USA) wrote:
BTW, Do you know of anything other than nssm or AlwaysUp that would create a
Windows service to start Solr when the server is rebooted?
NSSM failed our security scan and not sure if cheap bosses want to pay the
small fee for AlwaysUp.
My honest opinion for how you can best deal with a Windows server?
Don't run Windows. Put the workload onto one of the open source
operating systems. I use Linux, but there also other choices.
Since you're probably in a situation where you can't follow that
advice... NSSM is what I've seen used quite a bit. Apache has a
project that I think will work as well.
https://commons.apache.org/proper/commons-daemon/procrun.html
I found a number of resources with "run java application as a service on
windows" as a google search.
I couldn't find any mention of a confirmed vulnerability in NSSM. I did
find something about a vulnerability in the CouchDB installer related to
installing NSSM but I haven't yet found anything for NSSM itself.
Thanks,
Shawn