Skip to content

Commit 13d9ac5

Browse files
committed
fix restart celery failed
1 parent ba11195 commit 13d9ac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy_prod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.prod"
3333
./manage.py collectstatic --clear --noinput
3434

3535
# stop celery worker with beat
36-
celery -A pythonkr_backend multi stop worker1 -c2 -B \
36+
celery -A pythonkr_backend multi stop worker -c2 -B \
3737
--pidfile=/home/pk/celery-%n.pid \
38-
--logfile=/home/pk/logs/celery-%n%I.log
38+
--logfile=/home/pk/logs/celery-%n-%i.log
3939

4040
# shutdown exist gunicorn
4141
if [ -f ${PID_FILE} ]; then

0 commit comments

Comments
 (0)