Explorar o código

Very simple delivery script

Gaël Métais %!s(int64=10) %!d(string=hai) anos
pai
achega
849e5a24a9
Modificáronse 1 ficheiros con 13 adicións e 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