From 14ad8654cc1f6050d6e6af42dcc300b8bf07acb5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 7 Dec 2012 20:09:46 -0800 Subject: Add restart scripts as used on the test server. --- tools/bin/restart-all | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tools/bin/restart-all (limited to 'tools/bin/restart-all') diff --git a/tools/bin/restart-all b/tools/bin/restart-all new file mode 100755 index 00000000..5d7e2425 --- /dev/null +++ b/tools/bin/restart-all @@ -0,0 +1,21 @@ +#!/bin/bash -e +source restart-config +if test -n "$REBUILD" +then + cd $SERVER_SOURCE + git pull + make + make install prefix=${HOME} +fi + +restart-login $LOGIN_WORLD + +for world in ${AUTO_WORLDS[@]} +do + restart-world $world --auto +done + +for world in ${MANUAL_WORLDS[@]} +do + restart-world $world --manual +done -- cgit v1.2.3-70-g09d2