Skip to content

added the possibility to load multiple INI files#17

Open
thorsten-klein wants to merge 1 commit intoCOVESA:masterfrom
thorsten-klein:multiple-ini
Open

added the possibility to load multiple INI files#17
thorsten-klein wants to merge 1 commit intoCOVESA:masterfrom
thorsten-klein:multiple-ini

Conversation

@thorsten-klein
Copy link
Copy Markdown

@thorsten-klein thorsten-klein commented Mar 24, 2020

  • added the possibility to load multiple INI files from the folder /etc/commonapi.d or the folder provided by the environment variable COMMONAPI_CONFIG (if it is a folder).

Priority is as follows:

  1. folder definded by COMMONAPI_CONFIG
  2. file in the current folder
  3. file definded by COMMONAPI_CONFIG
  4. folder /etc/commonapi.d
  5. file /etc/commonapi.ini
  • added the capability to use ; for comments

…tc/commonapi.d or the folder provided by the environment variable COMMONAPI_CONFIG (if it is a folder). Priority is as follows: 1. folder definded by COMMONAPI_CONFIG 2. file in the current folder 3. file definded by COMMONAPI_CONFIG 4. folder /etc/commonapi.d 5. file /etc/commonapi.ini - added the capability to use ; for comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants