Q100021: Mari - extended environment variables
SUMMARY
This article explains how to set parameters in the Mari config files through environment variables.
To locate the relevant config files for your operating system please check Q100020: Mari directory paths for config and log files.
MORE INFORMATION
Anything saved in Mari.conf (.ini) can be set by environment variable with the following convention:
MARI_(group)_(key)
where
- group is the group name all in capital and "%20" replaced by underscore
- key is the key of settings all in capital and "%20" replaced by underscore
i.e the channel presets (mtd) look up directories are stored in Mari.conf as
Channel%20Presets
.....
searchPaths=/tmp
This means the corresponding environment variable is
MARI_CHANNEL_PRESETS_SEARCHPATHS
Keywords: Mari config ini env var