904118851 8 сар өмнө
parent
commit
c14c6282e8
2 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 1 1
      package.json
  2. 1 0
      restartall.sh

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "heiyan",
   "version": "1.0.0",
-  "main": "start_heiyan.js",
+  "main": "start_data.js",
   "scripts": {
     "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