summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/entrypoint.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh
index eb7dc07..a770286 100755
--- a/bin/entrypoint.sh
+++ b/bin/entrypoint.sh
@@ -1,8 +1,11 @@
-#!/bin/sh
-
+#!/usr/bin/dumb-init /bin/sh
+# shellcheck shell=sh
set -e
[ -n "$DEBUG" ] && set -x
cd "$(dirname "$0")/.."
-./bin/envoy.sh & ./bin/authzd & ./bin/sparkled
+
+./bin/envoy.sh & # launch envoy in background
+./bin/authzd & # launch authzd in background
+./bin/sparkled # launch sparkled in foreground