Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Add support for reading multiple configuration files in /etc/ercole.d/ #61

Closed
amreo opened this issue Mar 5, 2020 · 2 comments · Fixed by #72
Closed

Add support for reading multiple configuration files in /etc/ercole.d/ #61

amreo opened this issue Mar 5, 2020 · 2 comments · Fixed by #72
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@amreo
Copy link
Member

amreo commented Mar 5, 2020

Describe the solution you'd like
I want that every file in /etc/ercole.d/*.toml in sort -n order are read.

@cirelli94
Copy link
Contributor

cirelli94 commented Mar 11, 2020

In what order compared to others?

less priority

		"/opt/ercole/config.toml",
		"/usr/share/ercole/config.toml",
		"/etc/ercole.toml",
		home + "/.ercole.toml",
		"config.toml",
		extraConfigFile //passed by -c

top priority

@amreo
Copy link
Member Author

amreo commented Mar 12, 2020

After "/etc/ercole.toml", before home + "/.ercole.toml",

@amreo amreo closed this as completed in #72 Mar 16, 2020
@amreo amreo added this to the pre2.0 milestone Mar 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants