Open christophermaier opened 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details.
Use-case: In
reload
hook I can decide what to do with a service. If reload is possible I write something:But if I want to restart service on config change and
reload
hook exists I have to write:Expected supervisors' behavior on config change:
reload
hook (which might or might not kill main process)reconfigure
hook in backgroundrun
hook if main process diedActual supervisors' behavior on config change:
reload
hookreconfigure
hook in foreground blocking any other activities (probably load/unload affected here too)run
hook only afterreconfigure
hook exitThis prevents from implementing many service packages with habitat.