z_sites_sup (zotonic_core v1.0.0-rc.17)
Supervisor for sites supervisors
Summary
Functions
API for starting the sites dispatcher and manager
Functions
-spec init(list()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
-spec start_link() -> supervisor:startlink_ret().
API for starting the sites dispatcher and manager
-spec start_site(Site :: atom()) -> supervisor:startchild_ret() | {error, term()}.
-spec stop_site(pid()) -> ok | {error, not_found}.