NervesGate.Apps (nerves_gate v0.1.0)

Copy Markdown

Administrative lifecycle for trusted OTP applications on SD.

Code lives under /mnt/apps/apps/<app>/<version> and application data under /mnt/apps/data/<app>. Only enabled/active/previous selection is persisted in /data/nerves_gate/apps.term. Install does not start an application. Upgrades are cold stop/start with a health check and rollback; this is not a sandbox or an OTP hot-code upgrade service. Uninstall preserves application data.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

install(path)

list()

restart(app)

rollback(app)

start(app)

start_link(opts)

stop(app)

uninstall(app)

upgrade(path)