0
点赞
收藏
分享

微信扫一扫

swoole--服务平滑重启

王栩的文字 2022-06-13 阅读 51

参考:​​https://wiki.swoole.com/wiki/page/p-server/reload.html​​

shell代码:

echo "loading..."

pid=$(pidof live)
# pid= `pidof live`

echo $pid

kill -usr1 $pid

echo "success loading..."

 


举报

相关推荐

0 条评论