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";