Copyright © 2009-2020 Marc Worrell
Behaviours: supervisor.
Authors: Marc Worrell (marc@worrell.nl).
init/1 | Supervisor callback, returns the supervisor tree for a zotonic site. |
install_done/1 | Called by z_installer after the database installation is done. |
install_phase1/1 | |
start_link/1 | API for starting the site supervisor. |
init(Site::atom()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}
Supervisor callback, returns the supervisor tree for a zotonic site
install_done(SiteProps::list()) -> ok
Called by z_installer after the database installation is done. We can now start all other site processes.
install_phase1(Site) -> any()
start_link(Site::atom()) -> {ok, pid()} | {error, term()}
API for starting the site supervisor.
Generated by EDoc