pyinfra: dbdir needs to be specified differently

pull/7/head
missytake 2023-10-08 13:46:26 +02:00
parent 1ea9125763
commit 47a48137d0
1 changed files with 2 additions and 1 deletions

View File

@ -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(