uWSGI 通过 xxx.ini 启动后会在相同目录下生成一个 xxx.pid 的文件,里面只有一行内容是 uWSGI 的主进程的进程号。
uwsgi --ini xxx.ini
uwsgi --reload xxx.pid
uwsgi --stop xxx.pid
sudo pkill -f uwsgi -9