Explain how juju chjus files are handled (lifecycle)
1 answer
Hooks are simple scripts called during the lifecycle of a service. They are triggered either by launching commands (for example, "unwrapping") or events (for example, the relationship with another service is declining).
All interceptors are optional, but they are points at which you take control of what actually needs to be done.
It seems strange to me that a complete lifecycle graph is not available, so I created one below from what I understand:
Please note that this is put together by just reading the docs, this may not correspond 100% to how the actual code is being executed.
+5
source to share