Update command for live exec

This commit is contained in:
patdyn 2024-06-27 16:23:01 +02:00
parent eb18eb03bc
commit d6a1f2b655

View file

@ -225,9 +225,7 @@ class TerraformBackendGitApi:
env = ""
for key in credentials:
env = env + f'{key}' + "=" + f'{credentials[key]}' + " "
self.execution_api.execute(f'{env}' + " " + "terraform-backend-git &")
self.execution_api.execute('sleep 3')
self.execution_api.execute_live(f"{env} nohup terraform-backend-git &")
def stop(self):
self.execution_api.execute("terraform-backend-git stop")