add support for a banlist for bans across restarts
This commit is contained in:
parent
0afbb92b11
commit
9f608b9838
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ do
|
|||
./mp-lobby-logger.pl -j -p $PORT -l $SERVERBASE/currentlobby.log >> $SERVERBASE/logs/lobby-chat.log 2>&1 &
|
||||
cd $SERVERBASE/build/
|
||||
fi
|
||||
for ip in $(cat $SERVERBASE/banlist 2> /dev/null); do $HOME/bin/send_server_command $SERVER ban $ip; done
|
||||
# wait for the server to terminate
|
||||
wait $PID
|
||||
# need to use the recorded path since the build/ symlink might have changed
|
||||
|
|
Loading…
Add table
Reference in a new issue