Module z_site_sup

Supervisor for a zotonic server.

Copyright 2009 Marc Worrell

Behaviours: supervisor.

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

Description

Supervisor for a zotonic server. Starts webmachine, all base zotonic processes and the site supervisor.

Function Index

init/1Supervisor callback, returns the supervisor tree for a zotonic site.
install_done/1Called when the site installation is done, we can not add all other processes.
start_link/1API for starting the site supervisor.

Function Details

init/1

init(Site::atom()) -> {ok, {{one_for_all, integer(), integer()}, list()}}

Supervisor callback, returns the supervisor tree for a zotonic site

install_done/1

install_done(SiteProps::list()) -> ok

Called when the site installation is done, we can not add all other processes.

start_link/1

start_link(Site) -> ServerRet

API for starting the site supervisor.


Generated by EDoc, Dec 9 2016, 15:47:27.