Fix can't find sleep error.

This commit is contained in:
Raphaël Numbus
2026-02-25 22:39:50 +01:00
parent 3375f3566e
commit 33a00771e5
+1 -1
View File
@@ -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";