904118851 9 月之前
父節點
當前提交
c14c6282e8
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      package.json
  2. 1 0
      restartall.sh

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
 {
   "name": "heiyan",
   "name": "heiyan",
   "version": "1.0.0",
   "version": "1.0.0",
-  "main": "start_heiyan.js",
+  "main": "start_data.js",
   "scripts": {
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1"
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   },

+ 1 - 0
restartall.sh

@@ -0,0 +1 @@
+/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2  restart all