0Pricing
Erlang OTP: Distributed & Fault-Tolerant Systems Programming · Lesson

Release Configuration & Boot Scripts

Master sys.config and boot scripts to configure application environments and control the exact startup sequence of an Erlang release.

What Is Release Configuration?

A release bundles your applications, the Erlang runtime, and configuration. Two files drive runtime behaviour: sys.config for application settings and the boot script for the startup sequence.

The Application Environment

Each OTP application has an environment — a set of key/value parameters. You read them at runtime with application:get_env/2.

application:get_env(my_app, port).

All lessons in this course

  1. Creating Erlang Releases
  2. Hot Code Loading & Upgrades
  3. Release Versioning & Deployment
  4. Release Configuration & Boot Scripts
← Back to Erlang OTP: Distributed & Fault-Tolerant Systems Programming