django4 fixes
This commit is contained in:
parent
4bd1b62e64
commit
e8fa8f6d13
5 changed files with 9 additions and 9 deletions
4
guni.sh
4
guni.sh
|
|
@ -9,11 +9,11 @@ GROUP=cbmi
|
|||
ADDRESS=127.0.0.1:8000
|
||||
DJANGO_SETTINGS=cbmi.settings
|
||||
DJANGO_SETTINGS_MODULE=cbmi.settings
|
||||
source /home/cbmi/cbmi/bin/activate
|
||||
source /home/cbmi/cbmi/venv/bin/activate
|
||||
cd /home/cbmi/cbmi
|
||||
test -d $LOGDIR || mkdir -p $LOGDIR
|
||||
echo "foo"
|
||||
exec bin/gunicorn -w $NUM_WORKERS --bind=$ADDRESS \
|
||||
exec venv/bin/gunicorn -w $NUM_WORKERS --bind=$ADDRESS \
|
||||
--user=$USER --group=$GROUP --log-level=debug \
|
||||
cbmi.wsgi:application \
|
||||
--log-file=$LOGFILE 2>>$LOGFILE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue