Skip to content

Commit f358a68

Browse files
committed
don't use a pid file with celery scheduler
1 parent 81fc95a commit f358a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint-celery.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ if [ ! -z $CELERY_BEAT_SEPARATELY ]; then
1717
# run celery worker & scheduler at the same time
1818
# NOTE: this isn't advised since the scheduler could be potentially running multiple/simultaneous times creating duplicate tasks
1919
else
20-
su $(id -un ${RUN_AS_UID}) -c "/env/bin/celery -A nefarious worker --concurrency ${NUM_CELERY_WORKERS:-0} --beat --loglevel=INFO"
20+
su $(id -un ${RUN_AS_UID}) -c "/env/bin/celery -A nefarious worker --concurrency ${NUM_CELERY_WORKERS:-0} --beat --pidfile= --loglevel=INFO"
2121
fi

0 commit comments

Comments
 (0)