Compare commits
2 Commits
d0c26f15e2
...
5dd11e1fc8
Author | SHA1 | Date | |
---|---|---|---|
5dd11e1fc8 | |||
![]() |
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)
|
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)
|
print(restart.code, restart.out, restart.err)
|
||||||
|
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
|
Loading…
Reference in New Issue
Block a user