This commit is contained in:
xl
2024-06-21 14:35:43 +08:00
parent def6675c81
commit b14b18040b
2 changed files with 1 additions and 173 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ trait TraitServer
private function genProcess(BaseProcess $name): Process
{
return new Process(function (Process $process) use ($name) {
$process->name($name->getName());
$process->name('[' . \config('id','system-service') . ']' . $name->getName());
$name->onSigterm()->process($process);
},
$name->getRedirectStdinAndStdout(),