Skip to content

Commit

Permalink
split celery apps
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Nov 27, 2024
1 parent 26445dc commit f90373b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions bin/scripts/celery/live/start_celery.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
cd ~/app &&
celery multi start w1 w2 -A meta_edc -l INFO --workdir="/home/live/app/" --logfile=/home/live/log/%n%I.log --pidfile=/home/live/celery/%n.pid

# to stop
# celery multi stop w1
celery multi start worklive -A meta_edc.celery_live:app -Q live_queue -l INFO --workdir="/home/live/app/" --logfile=/home/live/log/%n%I.log --pidfile=/home/live/celery/%n.pid
5 changes: 1 addition & 4 deletions bin/scripts/celery/uat/start_celery.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
cd ~/app &&
celery multi start w1 w2 -A meta_edc -l INFO --workdir="/home/uat/app/" --logfile=/home/uat/log/%n%I.log --pidfile=/home/uat/celery/%n.pid

# to stop
# celery multi stop w1
celery multi start workuat -A meta_edc.celery_uat:app -Q uat_queue -l INFO --workdir="/home/uat/app/" --logfile=/home/uat/log/%n%I.log --pidfile=/home/uat/celery/%n.pid

0 comments on commit f90373b

Please sign in to comment.