lifecycle: fix arguments not being passed to worker command (#14574)

This commit is contained in:
Jens L.
2025-05-21 19:42:15 +02:00
committed by GitHub
parent 35da3d65d2
commit f48496b2cf

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 \