add nowait ard

This commit is contained in:
vincent 2020-07-14 17:02:48 +02:00
parent a0b7dda7be
commit a334f6234c

View File

@ -1,5 +1,6 @@
import subprocess import subprocess
import time import time
import sys
services=("syncthing@vincent", services=("syncthing@vincent",
"mariadb", "mariadb",
@ -58,7 +59,8 @@ class Container(object):
if __name__ == '__main__': if __name__ == '__main__':
time.sleep(60) if sys.argv[0] != "nowait":
time.sleep(60)
for serviceName in services: for serviceName in services:
serviceObj=Service(serviceName) serviceObj=Service(serviceName)