Files
2026-07-15 07:49:11 -04:00

16 lines
481 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$(dirname "$(dirname "${BASH_SOURCE[0]}")")/functions"
cmd-google-auth-stop() {
declare desc="stop the shared auth service container"
local cmd="google-auth:stop"
[[ "$1" == "$cmd" ]] && shift 1
fn-ga-service-stop
dokku_log_info1 "google-auth service stopped"
dokku_log_warn "apps with google-auth enabled will return 502/redirect errors until it is started again"
}
cmd-google-auth-stop "$@"