Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows Service Provider's current_delayed_start enumerates all services #8195
When using the
It not only does it once, but it does it twice, due to gating the assignment with the method call, rather than a local variable, issuing an excessive number of syscalls. Additionally, if loading the service config for any unrelated service fails, then the entire resource fails, which is the problem I encountered that brought me to this point.
The solution could instead be to extend https://github.com/chef/win32-service/blob/master/lib/win32/service.rb to be able to get the
I'm unsure as to how to create a replication case, but the service that is failing is
If the above thoughts look valid, I am willing to make appropriate changes myself in both repositories.