feat: read config from /etc/librepages/conductor/

This commit is contained in:
Aravinth Manivannan 2022-12-30 04:44:30 +05:30
parent db9115b90b
commit 5851b686b4
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ impl Settings {
let mut s = Config::builder();
const CURRENT_DIR: &str = "./config/config.toml";
const ETC: &str = "/etc/lpconductor/config.toml";
const ETC: &str = "/etc/librepages/conductor/config.toml";
if let Ok(path) = env::var("LPCONDUCTOR_CONFIG") {
s = s.add_source(File::with_name(&path));