aztk/node_scripts/wait_until_setup_complete.py

10 строки
149 B
Python

import time
import os
while not os.path.exists('/tmp/setup_complete'):
time.sleep(1)
print("SETUP FINSIHED")
os.remove('/tmp/setup_complete')