上线

source /usr/src/app/bin/activate
nohup python manage.py runserver 0.0.0.0:8000 >/data0/deploylog/django.out 2>&1 &
export PYTHONOPTIMIZE=1
celery multi start w1 -A app -l debug –pidfile=/var/run/celery/%n.pid –logfile=/data0/deploylog/celery/%n%I.log

发表评论

电子邮件地址不会被公开。 必填项已用*标注