Allow windows service to be stopped from sc.exe

This commit is contained in:
Vladimir Stoilov 2024-03-19 19:08:36 +02:00
parent 2d08d27f00
commit c29fb65c27
No known key found for this signature in database
GPG key ID: 2F190B67A43A81AF

View file

@ -45,7 +45,7 @@ func (ws *windowsService) Execute(args []string, changeRequests <-chan svc.Chang
} else {
// Modules are running.
changes <- svc.Status{State: svc.Running}
changes <- svc.Status{State: svc.Running, Accepts: cmdsAccepted}
// Listen for updates
service: