cluster/services/chant: wait for services to finish
This commit is contained in:
parent
e3ed1611c8
commit
e791be03a4
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ let
|
||||||
triggers.add(target)
|
triggers.add(target)
|
||||||
|
|
||||||
for trigger in triggers:
|
for trigger in triggers:
|
||||||
subprocess.run(["${config.systemd.package}/bin/systemctl", "start", "--no-block", f"{trigger}.service"])
|
subprocess.run(["${config.systemd.package}/bin/systemctl", "start", f"{trigger}.service"])
|
||||||
|
|
||||||
with open(indexFile, "w") as f:
|
with open(indexFile, "w") as f:
|
||||||
f.write(newIndex)
|
f.write(newIndex)
|
||||||
|
|
Loading…
Add table
Reference in a new issue