|
@@ -366,7 +366,7 @@ class SocketServer extends Command
|
|
|
if(function_exists('exec')){
|
|
if(function_exists('exec')){
|
|
|
exec('pid=$(lsof -F p -i:'.$port.' | cut -b 2-) && pkill -9 $pid');
|
|
exec('pid=$(lsof -F p -i:'.$port.' | cut -b 2-) && pkill -9 $pid');
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
echo "socket stop...\n";
|
|
echo "socket stop...\n";
|
|
|
$date = date('Y-m-d H:i:s');
|
|
$date = date('Y-m-d H:i:s');
|
|
|
$this->info("【{$date}】Socket:停止运行服务");
|
|
$this->info("【{$date}】Socket:停止运行服务");
|