Update command for live exec
This commit is contained in:
parent
eb18eb03bc
commit
d6a1f2b655
1 changed files with 1 additions and 3 deletions
|
@ -225,9 +225,7 @@ class TerraformBackendGitApi:
|
||||||
env = ""
|
env = ""
|
||||||
for key in credentials:
|
for key in credentials:
|
||||||
env = env + f'{key}' + "=" + f'{credentials[key]}' + " "
|
env = env + f'{key}' + "=" + f'{credentials[key]}' + " "
|
||||||
self.execution_api.execute(f'{env}' + " " + "terraform-backend-git &")
|
self.execution_api.execute_live(f"{env} nohup terraform-backend-git &")
|
||||||
self.execution_api.execute('sleep 3')
|
|
||||||
|
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self.execution_api.execute("terraform-backend-git stop")
|
self.execution_api.execute("terraform-backend-git stop")
|
||||||
|
|
Loading…
Reference in a new issue