[Bookworm] Correct Celery invocation

This commit is contained in:
Joshua Boniface 2023-09-01 00:30:01 -04:00
parent 22faaa9bbc
commit ec6d3351b2
1 changed files with 1 additions and 5 deletions

View File

@ -27,12 +27,8 @@ case "$( cat /etc/debian_version )" in
10.*) 10.*)
CELERY_ARGS="worker --app pvcapid.flaskapi.celery --concurrency 1 --loglevel INFO" CELERY_ARGS="worker --app pvcapid.flaskapi.celery --concurrency 1 --loglevel INFO"
;; ;;
11.*)
CELERY_ARGS="--app pvcapid.flaskapi.celery worker --concurrency 1 --loglevel INFO"
;;
*) *)
echo "Invalid Debian version found!" CELERY_ARGS="--app pvcapid.flaskapi.celery worker --concurrency 1 --loglevel INFO"
exit 1
;; ;;
esac esac