1 Star 0 Fork 1

kaluote200/dr_py

forked from Rui/dr_py 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
app.sh 846 Bytes
一键复制 编辑 原始数据 按行查看 历史
hjdhnx 提交于 2023-04-23 21:04 . 增加至github
#!/bin/bash
#kill -9 $(cat supervisord.pid) # 杀掉进程
msg='flask或0 ubuntu下自动识别gevent或普通启动flask\nsflask或1 ubuntu下gunicorn启动flask\ntermux或2 termux下自动识别gevent或普通启动flask\nstermux或3 termux下gunicorn启动flask\n'
case "$1" in
flask)
supervisord -c ./super/flask.conf
;;
0)
supervisord -c ./super/flask.conf
;;
sflask)
supervisord -c ./super/sflask.conf
;;
1)
supervisord -c ./super/sflask.conf
;;
termux)
supervisord -c ./super/termux.conf
;;
2)
supervisord -c ./super/termux.conf
;;
stermux)
supervisord -c ./super/stermux.conf
;;
3)
supervisord -c ./super/stermux.conf
;;
*)
echo -e $msg
;;
esac
# 保留一个 bash
/bin/bash
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kaluote200/dr_py.git
git@gitee.com:kaluote200/dr_py.git
kaluote200
dr_py
dr_py
main

搜索帮助