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

Proper handling of Windows service management #336

Open
bpetit opened this issue Jul 21, 2023 · 1 comment · Fixed by #333 or #342
Open

Proper handling of Windows service management #336

bpetit opened this issue Jul 21, 2023 · 1 comment · Fixed by #333 or #342
Assignees
Labels
enhancement New feature or request
Projects

Comments

@bpetit
Copy link
Contributor

bpetit commented Jul 21, 2023

Problem

Scpahandre only runs on windows as a bare executable. To use it as a daemon it needs to integrate with windows service management (sc.exe).

Solution

Integrate windows service events management in scaphandre, when compiled for and used on windows.

This crate may help : https://docs.rs/windows-service/latest/windows_service/

@bpetit bpetit added the enhancement New feature or request label Jul 21, 2023
@bpetit bpetit added this to the Release v1.0.0 milestone Jul 21, 2023
@bpetit bpetit self-assigned this Jul 21, 2023
@bpetit bpetit added this to Triage in General via automation Jul 21, 2023
@bpetit bpetit moved this from Triage to In progress in General Jul 21, 2023
@bpetit bpetit linked a pull request Jul 21, 2023 that will close this issue
@bpetit bpetit linked a pull request Aug 15, 2023 that will close this issue
3 tasks
@bpetit
Copy link
Contributor Author

bpetit commented Feb 14, 2024

Start works fine.

  • graceful stop
  • graceful restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
1 participant