gemercheung 3 years ago
parent
commit
cec42a17ea
1 changed files with 3 additions and 0 deletions
  1. 3 0
      restart.sh

+ 3 - 0
restart.sh

@@ -0,0 +1,3 @@
+#! /bin/bash
+npm run build
+NODE_ENV=production pm2 restart main