改名
This commit is contained in:
@@ -67,12 +67,6 @@ class FileChangeCustomProcess extends Command
|
|||||||
if (Kiri::getPlatform()->isLinux()) {
|
if (Kiri::getPlatform()->isLinux()) {
|
||||||
swoole_set_process_name('[' . Config::get('id', 'sw service.') . '].sw:wather');
|
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();
|
$this->trigger_reload();
|
||||||
Coroutine::create(function () use ($driver) {
|
Coroutine::create(function () use ($driver) {
|
||||||
$driver->start();
|
$driver->start();
|
||||||
|
|||||||
Reference in New Issue
Block a user