Add file-based queue shutdown
This commit is contained in:
parent
c951aca91f
commit
bc46f56852
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Update capturetheflag
|
# Update capturetheflag
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
@ -9,3 +11,8 @@ git submodule update --init --recursive
|
||||||
|
|
||||||
# Run build.sh
|
# Run build.sh
|
||||||
./build.sh ../games/capturetheflag
|
./build.sh ../games/capturetheflag
|
||||||
|
|
||||||
|
# Queue update
|
||||||
|
if [[ -d ../worlds/ctf ]]; then
|
||||||
|
touch ../worlds/ctf/queue_restart.txt
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue