# config

### FILE

config

### FILE SUMMARY

Configuration file.

### DESCRIPTION

A configuration file contains values for configuration parameters for the applications in the system. The `erl` command line argument `-config Name` tells the system to use data in the system configuration file `Name.config`.

Configuration parameter values in the configuration file will override the values in the application resource files (see `app(4)`). The values in the configuration file can be overridden by command line flags (see `erl(1)`).

The value of a configuration parameter is retrieved by calling `application:get_env/1,2`.

### FILE SYNTAX

The configuration file should be called `Name.config` where `Name` is an arbitrary name.

The `.config` file contains one single Erlang term. The file has the following syntax:

    [{Application1, [{Par11, Val11}, ..]},
     ..
     {ApplicationN, [{ParN1, ValN1}, ..]}].

- `Application = atom()` is the name of the application.
- `Par = atom()` is the name of a configuration parameter.
- `Val = term()` is the value of a configuration parameter.

### SEE ALSO

application(3), systools(3)

### AUTHORS

Martin Björklund - support@erlang.ericsson.se
Gunilla Hugosson - support@erlang.ericsson.se

kernel 2.9
Copyright © 1991-2003 Ericsson Utvecklings AB