Erlang -- rel

User's Guide
Reference Manual
Release Notes
PDF
Top

System Architecture Support Libraries (SASL)
Reference Manual
Version 3.0.1

Expand All
Contract All

Table of Contents

- sasl (App)
- alarm_handler
  - Top of manual page
  - clear_alarm/1
  - get_alarms/0
  - set_alarm/1
- rb
  - Top of manual page
  - filter/1
  - filter/2
  - grep/1
  - h/0
  - help/0
  - list/0
  - list/1
  - log_list/0
  - log_list/1
  - rescan/0
  - rescan/1
  - show/0
  - show/1
  - start/0
  - start/1
  - start_log/1
  - stop/0
  - stop_log/0
- release_handler
  - Top of manual page
  - check_install_release/1
  - check_install_release/2
  - create_RELEASES/4
  - downgrade_app/2
  - downgrade_app/3
  - downgrade_script/3
  - eval_appup_script/4
  - install_file/2
  - install_release/1
  - install_release/2
  - make_permanent/1
  - reboot_old_release/1
  - remove_release/1
  - set_removed/1
  - set_unpacked/2
  - unpack_release/1
  - upgrade_app/2
  - upgrade_script/2
  - which_releases/0
  - which_releases/1
- systools
  - Top of manual page
  - make_relup/3
  - make_relup/4
  - make_script/1
  - make_script/2
  - make_tar/1
  - make_tar/2
  - script2boot/1
- appup
- rel
- relup
- script

# rel

### FILE

rel

### FILE SUMMARY

Release resource file

### DESCRIPTION

The release resource file specifies which applications are included in a release (system) based on Erlang/OTP.

This file is used by the functions in systools when generating start scripts (.script, .boot) and release upgrade files (relup).

### File Syntax

The release resource file is to be called Name.rel.

The .rel file contains one single Erlang term, which is called a release specification. The file has the following syntax:

    {release, {RelName,Vsn}, {erts, EVsn},
      [{Application, AppVsn} |
       {Application, AppVsn, Type} |
       {Application, AppVsn, IncApps} |
       {Application, AppVsn, Type, IncApps}]}.

RelName = string()

  Release name.

Vsn = string()

  Release version.

EVsn = string()

  ERTS version the release is intended for.

Application = atom()

  Name of an application included in the release.

AppVsn = string()

  Version of an application included in the release.

Type = permanent | transient | temporary | load | none

  Start type of an application included in the release.

  If Type = permanent | transient | temporary, the application is loaded and started in the corresponding way, see application(3).

  If Type = load, the application is only loaded.

  If Type = none, the application is not loaded and not started, although the code for its modules is loaded.

  Defaults to permanent

IncApps = [atom()]

  A list of applications that are included by an application included in the release. The list must be a subset of the included applications specified in the application resource file (Application.app) and overrides this value. Defaults to the same value as in the application resource file.

Note

The list of applications must contain the Kernel and STDLIB applications.

### See Also

application(3), relup(4), systools(3)