Home AssistantHome AssistantContributors
In code
/init/etc/s6-overlay/s6-rc.d/
Also
s6-overlay, S6

Docker runs one command per container. S6 overlay lets an app run several, in the right order: a setup step first, then the programs, restarted when they crash. The base images make its /init the entrypoint, so an app only adds its service definitions. See Run services with S6 overlay.