Add file-based queue shutdown

This commit is contained in:
rubenwardy 2020-04-30 18:08:01 +01:00
parent c951aca91f
commit bc46f56852

View file

@ -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