Merge pull request #529 from bunkerity/ui

Update where the scheduler copies its config
This commit is contained in:
Théophile Diot 2023-06-22 09:44:32 -04:00 committed by GitHub
commit 89070cfb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -507,7 +507,10 @@ if __name__ == "__main__":
"Config generator failed, configuration will not work as expected...",
)
else:
copy(str(nginx_variables_path), str(tmp_variables_path))
copy(
str(nginx_variables_path),
join(sep, "var", "tmp", "bunkerweb", "variables.env"),
)
if SCHEDULER.apis:
# send nginx configs