From 47a48137d0450eeb4330a624bf7f5f4a9b045072 Mon Sep 17 00:00:00 2001 From: missytake Date: Sun, 8 Oct 2023 13:46:26 +0200 Subject: [PATCH] pyinfra: dbdir needs to be specified differently --- src/teams_bot/pyinfra.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index 8c6fc09..69eda69 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -43,7 +43,8 @@ def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str secrets = [ f"TEAMS_INIT_EMAIL={bot_email}", f"TEAMS_INIT_PASSWORD={bot_passwd}", - f'TEAMS_DBDIR={dbdir}', + f'TEAMS_INIT_DBDIR={dbdir}', + f'TEAMS_RUN_DBDIR={dbdir}', ] env = "\n".join(secrets) files.put(