We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bfa28a commit 46bdafdCopy full SHA for 46bdafd
g2-ssr/ecosystem.config.js
@@ -0,0 +1,13 @@
1
+module.exports = {
2
+ apps: [
3
+ {
4
+ name: "app",
5
+ script: "./app.js",
6
+ // 自动重启选项
7
+ autorestart: true, // 启用自动重启
8
+ restart_delay: 5000, // 重启延迟(毫秒)
9
+ },
10
+ ],
11
+ };
12
+
13
g2-ssr/package.json
@@ -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"
14
},
0 commit comments