diff --git a/update_immich.yml b/update_immich.yml index 86537b8..0d26d60 100644 --- a/update_immich.yml +++ b/update_immich.yml @@ -193,11 +193,8 @@ - | cd {{ immich_dir }} - # Docker Engine <25 may not support healthcheck.start_interval; comment it out if present - server_major="$({{ docker_prefix }} version --format '{% raw %}{{.Server.Version}}{% endraw %}' 2>/dev/null | cut -d. -f1 || echo 0)" - if [ "${server_major:-0}" -lt 25 ]; then - sed -i -E 's/^([[:space:]]*)start_interval:/\1# start_interval:/' docker-compose.yml || true - fi + # Comment out healthcheck.start_interval if present (safe no-op if missing) + sed -i -E 's/^([[:space:]]*)start_interval:/\1# start_interval:/' docker-compose.yml || true - "cd {{ immich_dir }} && {{ immich_compose_cmd }} config >/dev/null" - "cd {{ immich_dir }} && {{ immich_compose_cmd }} pull >/dev/null"