z_site_sup (zotonic_core v1.0.0-rc.11)
Link to this section Summary
Functions
Supervisor callback, returns the supervisor tree for a zotonic site
Called by z_installer after the database installation is done. We can now start all other site processes.
API for starting the site supervisor.
Link to this section Functions
Link to this function
init(Site)
-spec init(atom()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
Link to this function
install_done(Site)
-spec install_done(atom()) -> ok.
Link to this function
install_phase1(Site)
Link to this function
start_link(Site)
-spec start_link(Site :: atom()) -> {ok, pid()} | {error, term()}.