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

[💡 FEATURE REQUEST]: Notify service manager about start-up completion and other service status changes #1654

Closed
Kaspiman opened this issue Jul 25, 2023 · 2 comments · Fixed by #1671
Assignees
Labels
C-feature-request Category: feature requested, but need to be discussed
Milestone

Comments

@Kaspiman
Copy link
Sponsor

Kaspiman commented Jul 25, 2023

Plugin

None

I have an idea!

i'm using Roadrunner + Systemd and having a little restart problems. Command systemctl restart roadrunner with default unit does not guarantee server readiness.

Comes to mind to use a script and check port availability with wait-for-it.sh or something else.

Maybe we can add come signals like sd_notify? People already has library for that.

EDIT:
Some docs:

  1. https://www.freedesktop.org/software/systemd/man/systemd.service.html#NotifyAccess=
  2. https://www.freedesktop.org/software/systemd/man/sd_notify.html#
@Kaspiman Kaspiman added the C-feature-request Category: feature requested, but need to be discussed label Jul 25, 2023
@rustatian
Copy link
Member

Hey @Kaspiman 👋🏻
Yeah, nice idea. I'll look into that, thanks 👍🏻

@rustatian
Copy link
Member

To test the feature, feel free to download build artifacts here: https://github.com/roadrunner-server/roadrunner/actions/runs/5867205849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: feature requested, but need to be discussed
Projects
No open projects
Status: Unreleased
Development

Successfully merging a pull request may close this issue.

2 participants