celery bash

This commit is contained in:
caoqianming 2022-02-24 15:31:07 +08:00
parent 7ff09d4d65
commit c3c4a2e803
3 changed files with 12 additions and 0 deletions

4
hb_server/cbeat_start.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /home/lighthouse/hberp/hb_server
source venv/bin/activate
exec celery -A server beat -l info

View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /home/lighthouse/hberp/hb_server
source venv/bin/activate
exec celery -A server worker -l info

View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /home/lighthouse/hberp/hb_server
source venv/bin/activate
exec gunicorn -w 5 -b 0.0.0.0:2223 server.wsgi