This commit is contained in:
2020-12-28 18:26:06 +08:00
parent 599e8826eb
commit cabdd0ba83
2 changed files with 5 additions and 6 deletions
+4
View File
@@ -251,6 +251,10 @@ class Server extends Application
$system->write(Json::encode($this->params[$name]));
}
$this->baseServer->addProcess($system);
if (Snowflake::isLinux()) {
$prefix = ucfirst(rtrim(Snowflake::app()->id, ':'));
$system->name($prefix . ': ' . $name . '::' . $process);
}
$application->set($process, $system);
}
}