diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/entrypoint.sh | 15 | ||||
| -rwxr-xr-x | bin/envoy-shim (renamed from bin/envoy.sh) | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh deleted file mode 100755 index a3b9a0e..0000000 --- a/bin/entrypoint.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env -S dumb-init /bin/sh -# shellcheck shell=sh -set -e - -[ -n "$DEBUG" ] && set -x - -cd "$(dirname "$0")/.." - -./bin/envoy.sh & # launch envoy in background -./bin/authzd & # launch authzd in background - -/usr/bin/env -i - \ - APP_ENV="$APP_ENV" \ - BIND_ADDR="$BIND_ADDR" \ - ./bin/sparkled # launch sparkled in foreground diff --git a/bin/envoy.sh b/bin/envoy-shim index 433ea22..f358631 100755 --- a/bin/envoy.sh +++ b/bin/envoy-shim @@ -30,7 +30,7 @@ if ! command -v envoy > /dev/null 2>&1; then fi # https://github.com/envoyproxy/envoy/blob/48f93b68232aba15b5b14743a134691926749122//source/common/common/logger.h#L36 -envoy \ +exec envoy \ --base-id 0 \ --config-yaml "$yaml" \ --log-level warn \ |
