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

Systemd notify protocol #381

Open
vooon opened this issue Aug 16, 2024 · 2 comments
Open

Systemd notify protocol #381

vooon opened this issue Aug 16, 2024 · 2 comments
Labels
enhancement New feature or request polar

Comments

@vooon
Copy link

vooon commented Aug 16, 2024

It might be nice to support systemd's Type=notify option.

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@gi0baro
Copy link
Member

gi0baro commented Aug 16, 2024

Can you expand on the use case for this?
How do you expect to use SystemD notify with Granian or, in other words, which features of SystemD notify will improve current usage of Granian with SystemD?

@vooon
Copy link
Author

vooon commented Aug 18, 2024

That may improve the case, when other unit depends on some api server to be ready (on the same node).

With Type=simple unit will be active as soon as it starts granian.

With Type=notify you can signal readiness after you load app and start listening.

@gi0baro gi0baro added enhancement New feature or request polar labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request polar
Projects
None yet
Development

No branches or pull requests

2 participants