mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: Added pm2
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "app",
|
||||
script: "./app.js",
|
||||
// 自动重启选项
|
||||
autorestart: true, // 启用自动重启
|
||||
restart_delay: 5000, // 重启延迟(毫秒)
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"lodash": "^4.17.21",
|
||||
"nan": "^2.22.2",
|
||||
"pm2": "^6.0.13",
|
||||
"node-canvas": "^2.9.0",
|
||||
"nprogress": "^0.2.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user