lifecycle: fix syntax error in ak wrapper

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-05 21:03:54 +02:00
parent aee58c8d53
commit e8420957b1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ elif [[ "$1" == "test" ]]; then
check_if_root "python -m manage test authentik"
elif [[ "$1" == "healthcheck" ]]; then
mode=$(cat $MODE_FILE)
if [[ $mode == "server "]]; then
if [[ $mode == "server" ]]; then
curl --user-agent "authentik Healthcheck" -I http://localhost:9000/-/health/ready/
elif [[ $mode == "worker" ]]; then
celery -A authentik.root.celery inspect ping -d celery@$HOSTNAME