Skip to content

Provide a way to control Windows service state#394

Open
glumpo wants to merge 1 commit intokardianos:masterfrom
bi-zone:win_service_accepts
Open

Provide a way to control Windows service state#394
glumpo wants to merge 1 commit intokardianos:masterfrom
bi-zone:win_service_accepts

Conversation

@glumpo
Copy link
Copy Markdown

@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