From 964fcf41ccb206ec018dc2aeaa2b410c346993e7 Mon Sep 17 00:00:00 2001 From: MarvinDo Date: Sun, 24 Nov 2024 18:43:59 +0100 Subject: [PATCH] moved pid and log files of celery to heredivar root dir --- src/frontend_celery/start_celery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend_celery/start_celery.sh b/src/frontend_celery/start_celery.sh index 5a63cac2..980ff123 100755 --- a/src/frontend_celery/start_celery.sh +++ b/src/frontend_celery/start_celery.sh @@ -72,5 +72,5 @@ fi if [ "${WEBAPP_ENV}" == "prod" ] then - celery -A celery_worker.celery multi start single-worker --pidfile=/var/run/celery/celery.pid --logfile=/var/log/celery/celery.log --loglevel=info -Ofair --concurrency=5 --without-heartbeat --without-gossip --without-mingle + celery -A celery_worker.celery multi start single-worker --pidfile=$ROOT/run/celery/celery.pid --logfile=$ROOT/log/celery/celery.log --loglevel=info -Ofair --concurrency=5 --without-heartbeat --without-gossip --without-mingle fi