This commit is contained in:
as2252258@163.com
2021-07-26 03:46:55 +08:00
parent c812f9c110
commit 7b1c9b2816
+2 -2
View File
@@ -299,9 +299,9 @@ class ServerManager extends Abstracts\Server
return;
}
$explode = explode('/', $output);
$explode = explode('/', $output[0]);
exec('kill -15 ' . $explode[0], $execResuklt);
exec('kill -15 ' . $explode[0], $execResult);
while (true) {
exec('netstat -lnp | grep ' . $port . ' | grep "LISTEN" | awk \'{print $7}\'', $output);
if (empty($output)) {