modify plugin name
This commit is contained in:
@@ -137,9 +137,9 @@ class HotReload extends Command
|
|||||||
$this->trigger_reload();
|
$this->trigger_reload();
|
||||||
Timer::tick(1000, fn() => $this->healthCheck());
|
Timer::tick(1000, fn() => $this->healthCheck());
|
||||||
|
|
||||||
Process::signal(SIGTERM, [$this, 'onSignal']);
|
pcntl_signal(SIGTERM, function () {
|
||||||
Process::signal(SIGKILL, [$this, 'onSignal']);
|
$this->onSignal(func_get_args());
|
||||||
|
});
|
||||||
$this->driver->start();
|
$this->driver->start();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user