1 files changed, 1 insertions, 1 deletions
diff --git a/host/Rory-ovh/services/containers/spacebar/root.nix b/host/Rory-ovh/services/containers/spacebar/root.nix
index fd8b488..28892d1 100644
--- a/host/Rory-ovh/services/containers/spacebar/root.nix
+++ b/host/Rory-ovh/services/containers/spacebar/root.nix
@@ -27,7 +27,7 @@
{
path = [ pkgs.netcat pkgs.bash ];
serviceConfig = {
- ExecStartPre = "${pkgs.bash}/bin/sh -c 'until ${pkgs.netcat}/bin/nc -z ${address} 5432; do echo \"Waiting for database server...\"; sleep 0.2; done'";
+ ExecStartPre = "${pkgs.bash}/bin/sh -c 'sleep 5; until ${pkgs.netcat}/bin/nc -z ${address} 5432; do echo \"Waiting for database server...\"; sleep 0.2; done'";
};
};
}
|