fix
This commit is contained in:
parent
4baf1c94fa
commit
f7b2b7b7ee
5
main.py
5
main.py
@ -89,7 +89,10 @@ while True:
|
||||
|
||||
print(container_id_run.code, container_id_run.out, container_id_run.err)
|
||||
|
||||
restart = call(f"docker exec {container_id_run.out} ./refre.sh")
|
||||
command = f"docker exec {container_id_run.out} ./refre.sh"
|
||||
print(command)
|
||||
|
||||
restart = call(command)
|
||||
print(restart.code, restart.out, restart.err)
|
||||
|
||||
time.sleep(30)
|
||||
|
Loading…
Reference in New Issue
Block a user