This commit is contained in:
2021-07-21 15:40:11 +08:00
parent 8c221e9e0e
commit 0c20f975de
+1 -1
View File
@@ -116,7 +116,7 @@ class ServerManager extends Abstracts\Server
}
/** @var Process $process */
$this->server->addProcess(new Process(function (Process $soloProcess) use ($customProcess) {
$system = sprintf('Process[%d].%s', $soloProcess->pid, Config::get('id', 'system-service'));
$system = sprintf('%s.process[%d]', Config::get('id', 'system-service'), $soloProcess->pid);
if (Snowflake::getPlatform()->isLinux()) {
$soloProcess->name($system . '.' . $customProcess->getProcessName($soloProcess) . ' start.');
}