lifecycle: fix arguments not being passed to worker command (cherry-pick #14574) (#14620)

Co-authored-by: Jens L. <jens@goauthentik.io>
fix arguments not being passed to worker command (#14574)
This commit is contained in:
gcp-cherry-pick-bot[bot]
2025-05-22 13:51:08 +02:00
committed by GitHub
parent ae47624761
commit 42f0528a1d

View File

@ -83,7 +83,8 @@ if [[ "$1" == "server" ]]; then
run_authentik
elif [[ "$1" == "worker" ]]; then
set_mode "worker"
check_if_root "python -m manage worker"
shift
check_if_root "python -m manage worker $@"
elif [[ "$1" == "worker-status" ]]; then
wait_for_db
celery -A authentik.root.celery flower \