Django服务开机启动
2018-08-21 本文已影响0人
敦敦实实
vi /etc/rc.d/rc.local
#添加
python 文件绝对路径/ manage.py runserver 0.0.0.0:80 &
# python /home/spider_web/fuwu_spider_web/manage.py runserver 0.0.0.0:80 &
vi /etc/rc.d/rc.local
#添加
python 文件绝对路径/ manage.py runserver 0.0.0.0:80 &
# python /home/spider_web/fuwu_spider_web/manage.py runserver 0.0.0.0:80 &