supabase-postgres.git / summary / log / commit / refs

commit    bb60ff4efbddd83fc75744c71b5206a887de915a
Author:   Beng Eu <beng@bengeu.com>
Date:     Wed Dec 06 08:51:37 2023 +0000

    fix: set `pipefail` and redirect stderr to stdout in Supervisor Envoy config


docker/all-in-one/etc/supervisor/services/envoy.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/all-in-one/etc/supervisor/services/envoy.conf b/docker/all-in-one/etc/supervisor/services/envoy.conf index 32bfe6fc..10b431b6 100644 --- a/docker/all-in-one/etc/supervisor/services/envoy.conf +++ b/docker/all-in-one/etc/supervisor/services/envoy.conf @@ -1,7 +1,7 @@ [program:envoy] # Workaround using `tee` to get `/dev/stdout` access logging to work, see: # https://github.com/envoyproxy/envoy/issues/8297#issuecomment-620659781 -command=sh -c '/opt/envoy --config-path /etc/envoy/envoy.yaml | tee' +command=bash -c 'set -o pipefail; /opt/envoy --config-path /etc/envoy/envoy.yaml 2>&1 | tee' user=envoy autorestart=false autostart=false [parent: c741ea78bc3d]