Q100021: Mari - extended environment variables

Follow


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 (Linux) or Mari.ini (Windows and MacOS) 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

 

FURTHER READING

For information on setting and deleting environment variables, please refer to the following articles:

Q100015: How To Set Environment Variables

Q100127: How to delete/unset environment variables

    We're sorry to hear that

    Please tell us why