增加gunicorn sh

This commit is contained in:
caoqianming 2022-02-24 14:42:25 +08:00
parent 794a73ad7b
commit df917378a3
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -15,3 +15,4 @@ numpy==1.21.2
workalendar==16.2.0
face_recognition==1.3.0
gunicorn==20.1.0
redis==4.1.4