feat(backend): MasterプロセスのPIDを書き出せるように (#11909)
This commit is contained in:
parent
2039e244c5
commit
5ad0906c89
3 changed files with 18 additions and 11 deletions
|
|
@ -63,6 +63,7 @@ export async function masterMain() {
|
|||
showNodejsVersion();
|
||||
config = loadConfigBoot();
|
||||
//await connectDb();
|
||||
if (config.pidFile) fs.writeFileSync(config.pidFile, process.pid.toString());
|
||||
} catch (e) {
|
||||
bootLogger.error('Fatal error occurred during initialization', null, true);
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue