z_site_sup (zotonic_core v1.0.0-rc.12)

Supervisor for a zotonic site.

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

-spec init(atom()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
Supervisor callback, returns the supervisor tree for a zotonic site
Link to this function

install_done(Site)

-spec install_done(atom()) -> ok.
Called by z_installer after the database installation is done. We can now start all other site processes.
Link to this function

install_phase1(Site)

Link to this function

start_link(Site)

-spec start_link(Site :: atom()) -> {ok, pid()} | {error, term()}.
API for starting the site supervisor.