From bc46f5685275e0cd67a5b324599f2427709d51a7 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 30 Apr 2020 18:08:01 +0100 Subject: [PATCH] Add file-based queue shutdown --- update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update.sh b/update.sh index c2e0db3..2439579 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Update capturetheflag git pull @@ -9,3 +11,8 @@ git submodule update --init --recursive # Run build.sh ./build.sh ../games/capturetheflag + +# Queue update +if [[ -d ../worlds/ctf ]]; then + touch ../worlds/ctf/queue_restart.txt +fi