Fix can't find sleep error.
This commit is contained in:
@@ -111,7 +111,7 @@ ${concatStringsSep "\n" (map (m: " - ${m}") middlewares)}
|
||||
serviceConfig = {
|
||||
Type = "exec";
|
||||
ExecStartPre = [
|
||||
"${pkgs.coreutils}/bin/sleep $(shuf -i 1-${toString startDelay} -n 1)"
|
||||
"${pkgs.bash}/bin/bash -c 'sleep $((RANDOM % ${toString startDelay}))'"
|
||||
"- 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";
|
||||
|
||||
Reference in New Issue
Block a user