From 33a00771e57df304f590e23d7c4bf479b8410412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Wed, 25 Feb 2026 22:39:50 +0100 Subject: [PATCH] Fix `can't find sleep` error. --- modules/services/lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/lib.nix b/modules/services/lib.nix index 7ac3ef2..64de896 100644 --- a/modules/services/lib.nix +++ b/modules/services/lib.nix @@ -111,7 +111,7 @@ ${concatStringsSep "\n" (map (m: " - ${m}") middlewares)} serviceConfig = { Type = "exec"; ExecStartPre = [ - "sleep $(shuf -i 1-${toString startDelay} -n 1)" + "${pkgs.coreutils}/bin/sleep $(shuf -i 1-${toString startDelay} -n 1)" "- sudo -u numbus-admin podman-compose ${envFileArg} -f /etc/podman/${name}/compose.yaml pull" ]; ExecStart = "sudo -u numbus-admin podman-compose ${envFileArg} --in-pod ${toString pod} -f /etc/podman/${name}/compose.yaml up --remove-orphans";