This commit is contained in:
2021-11-05 14:45:24 +08:00
parent 981a800053
commit 8b76ef8e41
@@ -67,12 +67,6 @@ class FileChangeCustomProcess extends Command
if (Kiri::getPlatform()->isLinux()) {
swoole_set_process_name('[' . Config::get('id', 'sw service.') . '].sw:wather');
}
Process::signal(SIGKILL | SIGTERM, function ($data) use ($driver) {
$driver->clear();
$this->stop();
});
$this->trigger_reload();
Coroutine::create(function () use ($driver) {
$driver->start();