From 500a70be73b7fd0634f9831ee7d32277638cc6f9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 5 Dec 2024 06:22:20 +0100 Subject: [PATCH] Update Dockerfile --- postgres/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/Dockerfile b/postgres/Dockerfile index a0281bc61..24ef7092c 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -74,7 +74,7 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. RUN chmod 777 /docker-entrypoint-initdb.d/* && \ # Close gracefully - sed -i "s|trap terminate|trap 'gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop; exit 0'|g" /ha_entrypoint.sh + sed -i "s|trap terminate|trap 'gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop'|g" /ha_entrypoint.sh WORKDIR /config ENTRYPOINT [ "/usr/bin/env" ]