coreybutler / node-windows

Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
Other
2.78k stars 357 forks source link

Service start mode is hard locked to "Automatic" #296

Closed ingles98 closed 2 years ago

ingles98 commented 2 years ago

As for WINSW documentation I added <startmode>Manual</startmode> to the .xml and the service still starts as Automatic.

Worst so, the exe keeps setting the service start mode itself which is a pain in the a** as setting the start mode on services.msc will have no effect but that's an issue for WINSW itself.

Could this be fixed by using a newer WINSW binary ?

ingles98 commented 2 years ago

Closing this issue as I figured it wasn't node-windows nor WINSW enforcing service startup mode.