Module z_site_sup

Supervisor for a zotonic site.

Copyright © 2009-2020 Marc Worrell

Behaviours: supervisor.

Authors: Marc Worrell (marc@worrell.nl).

Description

Supervisor for a zotonic site.

Function Index

init/1Supervisor callback, returns the supervisor tree for a zotonic site.
install_done/1Called by z_installer after the database installation is done.
install_phase1/1
start_link/1API for starting the site supervisor.

Function Details

init/1

init(Site::atom()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}

Supervisor callback, returns the supervisor tree for a zotonic site

install_done/1

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/1

install_phase1(Site) -> any()

start_link/1

start_link(Site::atom()) -> {ok, pid()} | {error, term()}

API for starting the site supervisor.


Generated by EDoc