modify
This commit is contained in:
@@ -304,6 +304,7 @@ class ServerManager extends Abstracts\Server
|
|||||||
exec('kill -15 ' . $explode[0], $execResult);
|
exec('kill -15 ' . $explode[0], $execResult);
|
||||||
while (true) {
|
while (true) {
|
||||||
exec('netstat -lnp | grep ' . $port . ' | grep "LISTEN" | awk \'{print $7}\'', $output);
|
exec('netstat -lnp | grep ' . $port . ' | grep "LISTEN" | awk \'{print $7}\'', $output);
|
||||||
|
var_dump($output);
|
||||||
if (empty($output)) {
|
if (empty($output)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user