gemercheung пре 3 година
родитељ
комит
cec42a17ea
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      restart.sh

+ 3 - 0
restart.sh

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