Module z_site_services_sup

Supervisor for services for a site.

Copyright © 2020 Marc Worrell

Behaviours: supervisor.

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

Description

Supervisor for services for a site. These can be restarted without affecting other parts.

Function Index

init/1Supervisor callback, returns the supervisor tree for the zotonic site services.
start_link/1API for starting the site services supervisor.

Function Details

init/1

init(SiteProps::proplists:proplist()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}

Supervisor callback, returns the supervisor tree for the zotonic site services

start_link/1

start_link(SiteProps) -> any()

API for starting the site services supervisor.


Generated by EDoc