Draft: Refactor start/restart pleroma
Start is divided into 4 phases.
- Init (repo and dynamic supervisor are starting)
- Update env (loading config from database and updating environment)
- Static children (starting children, which don't require any configuration or are configured in runtime)
- Dynamic children (starting children, which require restart after changing special config settings)
Edited by Alexander Strizhakov