From 878e3b262b85245896d690a92861ccd2ed41db59 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 4 Nov 2021 23:12:57 +0800 Subject: [PATCH] 111 --- kiri-engine/FileListen/FileChangeCustomProcess.php | 1 + 1 file changed, 1 insertion(+) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 5d0c14ae..bdf6e730 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -108,6 +108,7 @@ class FileChangeCustomProcess extends Command $content = (int)file_get_contents(storage('.swoole.pid')); if (!empty($content)) { var_dump($content, Process::kill($content, 0)); + var_dump(Process::kill($content, SIGTERM)); if (Process::kill($content, 0)) { Process::kill($content, SIGTERM); }