nixos/colony: Hopefully fix estuary attempting to start early

This commit is contained in:
2022-05-18 20:57:26 +01:00
parent 498888aad0
commit 89928a8fee
2 changed files with 14 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ let
print(f'usage: {sys.argv[0]} <qmp unix socket>', file=sys.stderr)
sys.exit(1)
if not os.path.exists(sys.argv[1]) and 'MAINPID' not in os.environ:
if 'MAINPID' not in os.environ:
# Special case: systemd is calling us after QEMU exited on its own
sys.exit(0)