Skip to content

Commit bb60ff4

Browse files
committed
fix: set pipefail and redirect stderr to stdout in Supervisor Envoy config
1 parent c741ea7 commit bb60ff4

File tree

1 file changed

+1
-1
lines changed
  • docker/all-in-one/etc/supervisor/services

1 file changed

+1
-1
lines changed

docker/all-in-one/etc/supervisor/services/envoy.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[program:envoy]
22
# Workaround using `tee` to get `/dev/stdout` access logging to work, see:
33
# https://github.com/envoyproxy/envoy/issues/8297#issuecomment-620659781
4-
command=sh -c '/opt/envoy --config-path /etc/envoy/envoy.yaml | tee'
4+
command=bash -c 'set -o pipefail; /opt/envoy --config-path /etc/envoy/envoy.yaml 2>&1 | tee'
55
user=envoy
66
autorestart=false
77
autostart=false

0 commit comments

Comments
 (0)