Platform Team/Server Kit/Mace: Difference between revisions
No edit summary |
|||
| Line 38: | Line 38: | ||
In addition to configuration files, Mace can process files with a {{Code|.env}} suffix. These files contain variable declarations in Bash syntax. The values of these variables might be entered in configuration files in the form of {{Code|@VARIABLE@}}, in which case they will be expanded to real values while applying the configuration. | In addition to configuration files, Mace can process files with a {{Code|.env}} suffix. These files contain variable declarations in Bash syntax. The values of these variables might be entered in configuration files in the form of {{Code|@VARIABLE@}}, in which case they will be expanded to real values while applying the configuration. | ||
In addition to custom variables, there is a list of special ones: | |||
* variables exported by providers; | |||
* {{Code|''<provider>''_SERVICE}} variables with paths to {{Code|/etc/init.d}} services for all providers that support services; | |||
* {{Code|SRC_ROOT}}, path to the root directory with configuration sources; | |||
* {{Code|DST_ROOT}}, path to the root directory to place final configuration; | |||
* {{Code|INCLUDE}}, if this variable is set in {{Code|.env}} files, it will be treated as a colon separated list of directories to search for additional configuration sources; if {{Code|INCLUDE}} directories are not absolute, they will be counted from the [[Sugar_Server_Kit/sugar-server-templates|sugar-server-templates]] root. | |||
=== Keywords === | === Keywords === | ||