Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to control Windows service state #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

glumpo
Copy link

@glumpo glumpo commented May 21, 2024

I faced with the need to dissallow stopping my service in some cases, but now it`s impossible to modify list of accepted controls. So here is some changes to provide a way to handle extra controls (like AcceptNetBindChange) and modify list of accepted controls in runtime.

We let user provide windows-specific option with handler which can process ChangeRequest and chanel to notify about accepts changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant