diff options
Diffstat (limited to 'start.sh')
| -rw-r--r-- | start.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,9 @@ set -e [ -z "$DEBUG" ] || set -x -oidc_host=$(echo "$OIDC_ISSUER" | sed 's/https\?:\/\///') +oidc_host=$(echo "$OIDC_ISSUER" | awk -F[/:] '{print $4}') yaml=$(sed "s/OAUTH_CLIENT_ID/$OAUTH_CLIENT_ID/" /etc/envoy/envoy.yaml) yaml=$(echo "$yaml" | sed "s/example.com/$oidc_host/") + +echo "[$(date "+%H:%M:%S")] ==> Starting…" /usr/local/bin/sparkled & /usr/local/bin/envoy --config-yaml "$yaml" --component-log-level oauth2:trace |
