run fastcgi python

kill -9 `cat /tmp/django.pid`

echo 'restart django....'

python ./manage.py runfcgi --settings=lutaf.settings_r maxchildren=8  maxspare=3 minspare=1 method=prefork  pidfile=/tmp/django.pid host=127.0.0.1 port=9900 outlog=/tmp/dj.out errlog=/tmp/dj.error


你可能感兴趣的:(python)