Module zotonic

Start/stop functions for Zotonic.

Copyright 2009 Marc Worrell

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

Description

Start/stop functions for Zotonic

Function Index

ensure_started/1
ping/0Just returns 'pong'; used by shell scripts to determine if node is alive.
run_tests/0
start/0Start the zotonic server.
start/1Start the zotonic server.
status/0Print the status of the current node.
status/1Get server status.
stop/0Stop the zotonic server.
stop/1Stop a zotonic server on a specific node.
update/0Update the server.
update/1Update the server on a specific node with new code on disk and flush the caches.

Function Details

ensure_started/1

ensure_started(App) -> any()

ping/0

ping() -> any()

Just returns 'pong'; used by shell scripts to determine if node is alive.

run_tests/0

run_tests() -> any()

start/0

start() -> ok

Start the zotonic server.

start/1

start(Args::_Args) -> ok

Start the zotonic server.

status/0

status() -> ok

Print the status of the current node.

status/1

status(X1::[node()]) -> ok

Get server status. Prints the state of sites running.

stop/0

stop() -> ok

Stop the zotonic server.

stop/1

stop(X1::[Node]) -> void()

Stop a zotonic server on a specific node

update/0

update() -> ok

Update the server. Compiles and loads any new code, flushes caches and rescans all modules.

update/1

update(X1::[Node]) -> ok

Update the server on a specific node with new code on disk and flush the caches.


Generated by EDoc, Oct 31 2014, 17:54:25.