-
Notifications
You must be signed in to change notification settings - Fork 5
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
RFC: updating scripts to use supervise-daemon #28
Comments
I'm a bit hesitant as neither Gentoo nor Alpine have fully committed to The layer is already mostly using the declarative style for init scripts; would it be as simple as making sure that we set
|
Yes, to clarify, I mean on a per-recipe basis instead of as a global default; that the initscripts in this repo by and large (where possible and appropriate) use supervision as a guideline, but not as a globally enforced default in
That is entirely correct, yep. |
Sounds like a great direction in that case. |
A lot of current initscripts either run without supervision entirely or run under
start-stop-daemon
,using pidfiles which are inherently subject to race conditions and don't provide proper supervision.
While
supervise-daemon
also has its flaws, in the context of OpenRC it may be the easiest method to provide proper supervision for services, making sure we get notified when services die and they can be automatically restarted, in a configurable way.Would you be open to updating (or having me update, of course) the initscripts in
meta-openrc
to usesupervise-daemon
as a guiding principle (that is, wherever appropriate and possible)?The text was updated successfully, but these errors were encountered: