Socket/start
2026-01-28 23:48:20 +08:00

3 lines
151 B
Plaintext

ps -ef | grep swoole | grep -v grep | awk {'print $2'} | xargs kill -9
/usr/bin/php think swoole > runtime/swoole.log 2>&1 & echo $! > runtime/pid.txt