fix curl
This commit is contained in:
@@ -72,7 +72,7 @@ in {
|
|||||||
envFile = config.sops.secrets."CUSTOM".path;
|
envFile = config.sops.secrets."CUSTOM".path;
|
||||||
script = pkgs.writeShellScript "setup" ''
|
script = pkgs.writeShellScript "setup" ''
|
||||||
JELLYFIN_URL="https://${containerCfg.subdomain}.${serverCfg.hostDomain}"
|
JELLYFIN_URL="https://${containerCfg.subdomain}.${serverCfg.hostDomain}"
|
||||||
until ${pkgs.curl} -sf "$JELLYFIN_URL/health" > /dev/null 2>&1; do
|
until ${pkgs.curl}/bin/curl -sf "$JELLYFIN_URL/health" > /dev/null 2>&1; do
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
echo "Jellyfin is up. Sleeping for 20 seconds..."
|
echo "Jellyfin is up. Sleeping for 20 seconds..."
|
||||||
|
|||||||
Reference in New Issue
Block a user