A configuration file contains values for configuration
parameters for the applications in the system. The
Configuration parameter values in the configuration file
override the values in the application resource files (see
The value of a configuration parameter is retrieved by calling
The configuration file is to be called
File
[{Application1, [{Par11, Val11}, ...]},
...
{ApplicationN, [{ParN1, ValN1}, ...]}].
Application name.
Name of a configuration parameter.
Value of a configuration parameter.
When starting Erlang in embedded mode, it is assumed that
exactly one system configuration file is used, named
Release handling relies on this assumption. When installing a
new release version, the new
This means that specifying another
[{Application, [{Par, Val}]} | File].
When traversing the contents of
Example:
sys.config:
[{myapp,[{par1,val1},{par2,val2}]},
"/home/user/myconfig"].
myconfig.config:
[{myapp,[{par2,val3},{par3,val4}]}].
This yields the following environment for
[{par1,val1},{par2,val3},{par3,val4}]
The behavior if a file specified in