改名
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ class ServerManager
|
|||||||
$customProcess = Kiri::getDi()->get($customProcess);
|
$customProcess = Kiri::getDi()->get($customProcess);
|
||||||
}
|
}
|
||||||
$process = new Process(function (Process $soloProcess) use ($customProcess) {
|
$process = new Process(function (Process $soloProcess) use ($customProcess) {
|
||||||
$system = sprintf('[%s].process[%d]', Config::get('id', 'system-service'), $soloProcess->pid);
|
$system = sprintf('[%s]process[%d]', Config::get('id', 'system-service'), $soloProcess->pid);
|
||||||
if (Kiri::getPlatform()->isLinux()) {
|
if (Kiri::getPlatform()->isLinux()) {
|
||||||
$soloProcess->name($system . '.' . $customProcess->getName() . ' start.');
|
$soloProcess->name($system . '.' . $customProcess->getName() . ' start.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user