参考来源: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..."

 

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2021-12-27
  • 2022-01-02
  • 2021-11-19
猜你喜欢
  • 2022-01-24
  • 2021-04-08
  • 2022-12-23
  • 2021-09-19
  • 2021-12-03
  • 2022-01-03
  • 2021-11-21
相关资源
相似解决方案