gunicorn配置:
动命令:gunicorn --bind unix:/tmp/new_gun.socket (app_name).wsgi:application
记得在settings里面加上这个app,
blog/blog/setting:
blog/gunicorn.conf:
重启:pstree -ap|grep gunicorn kill -HUP pid 这个是直接重启 kill -9 pid 这个是关闭
gunicorn --bind unix:/tmp/new_gun.socket -c new_gun.conf Live_broadcast.wsgi:application 这个是第一次启动