add nowait ard
This commit is contained in:
parent
a0b7dda7be
commit
a334f6234c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user