Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support /etc/vast/vast.conf as global config #898

Merged
merged 1 commit into from Jun 4, 2020
Merged

Conversation

dominiklohmann
Copy link
Member

The configuration file is now looked at in the following order:

  • Specified via --config=path/to/vast.conf
  • vast.conf in current working directory
  • ${INSTALL_PREFIX}/etc/vast/vast.conf
  • /etc/vast/vast.conf

The configuration file is now looked at in the following order:
- Specified via `--config=path/to/vast.conf`
- `vast.conf` in current working directory
- `${INSTALL_PREFIX}/etc/vast/vast.conf`
- `/etc/vast/vast.conf`
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not test this in any way, but the code is simple enough to be confident it will work.

@dominiklohmann
Copy link
Member Author

I have confirmed this to work in a Debian docker image.

@dominiklohmann dominiklohmann merged commit c4bd813 into master Jun 4, 2020
@dominiklohmann dominiklohmann deleted the story/ch16778 branch June 4, 2020 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants