This commit is contained in:
as2252258@163.com
2021-03-28 16:27:54 +08:00
parent 1e65c0f83c
commit 722e302484
+4
View File
@@ -67,6 +67,10 @@ class Shutdown extends Component
{
$master_pid = Server()->setting['pid_file'] ?? PID_PATH;
if (!file_exists($master_pid)) {
return false;
}
return $this->pidIsExists($master_pid);
}