增加 pm2 平滑重启

This commit is contained in:
whyour
2023-05-06 00:09:03 +08:00
parent 3d11210aeb
commit 5baa8e4391
8 changed files with 54 additions and 45 deletions
+1
View File
@@ -16,5 +16,6 @@ server.bindAsync(
() => {
server.start();
Logger.debug(`✌️ 定时服务启动成功!`);
process.send?.('ready');
},
);