Explorar el Código

Very simple delivery script

Gaël Métais hace 10 años
padre
commit
849e5a24a9
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13 0
      server_config/server_update.sh

+ 13 - 0
server_config/server_update.sh

@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+# Stop the server
+forever stopall
+
+cd /space/YellowLabTools
+# Keep the settings.json file
+git stash
+git pull
+git stash pop
+
+# Restart the server
+forever start -c "node --stack-size=65500" server.js