forked from michael.heier/citadel-core
Avoid starting apps async
This commit is contained in:
parent
072a3399a2
commit
c88ec5d02e
|
@ -121,10 +121,11 @@ def startInstalled():
|
|||
for app in userData["installedApps"]:
|
||||
print("Starting app {}...".format(app))
|
||||
# Run compose(args.app, "up --detach") asynchrounously for all apps, then exit(0) when all are finished
|
||||
thread = threading.Thread(target=compose, args=(app, "up --detach"))
|
||||
thread.start()
|
||||
threads.append(thread)
|
||||
joinThreads(threads)
|
||||
#thread = threading.Thread(target=compose, args=(app, "up --detach"))
|
||||
#thread.start()
|
||||
#threads.append(thread)
|
||||
compose(app, "up --detach")
|
||||
#joinThreads(threads)
|
||||
|
||||
|
||||
def stopInstalled():
|
||||
|
|
Loading…
Reference in New Issue
Block a user