test: switch from using HOME to DATABASE_HOME
This commit is contained in:
parent
d9211dca9a
commit
43c5cd2eff
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@
|
|||
cfg = config.services."${package_name}";
|
||||
# secret options are in the env file(s) loaded separately
|
||||
environment_config = {
|
||||
HOME = cfg.home;
|
||||
DATABASE_HOME = cfg.home;
|
||||
DATABASE = "database.db";
|
||||
};
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ pub fn get_config() -> Config {
|
|||
wolves_url: "".to_string(),
|
||||
};
|
||||
|
||||
if let Ok(x) = env::var("HOME") {
|
||||
if let Ok(x) = env::var("DATABASE_HOME") {
|
||||
config.home = x.trim().to_string();
|
||||
}
|
||||
if let Ok(x) = env::var("DATABASE") {
|
||||
|
|
Loading…
Reference in a new issue