From b955b69caaa45a6f62f8abd4de189148ca42762c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 29 Mar 2021 12:15:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Shutdown.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index dc123593..fa624f37 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -128,14 +128,13 @@ class Shutdown extends Component /** * @param string $value - * @throws ConfigException */ public function close(string $value) { $content = file_get_contents($value); while ($this->pidIsExists($content)) { -// exec('kill -15 ' . $content); + exec('kill -15 ' . $content); sleep(1); }