smileyface/instance/start-server.sh

14 lines
385 B
Bash
Executable File

#!/bin/bash
UT4_DIR="/home/ut4/serv"
cd "$UT4_DIR"/LinuxServer/Engine/Binaries/Linux
chmod 770 UE4Server-Linux-Shipping
# chmod 770 UE4Server-Linux-Test
while true ; do
cd "$UT4_DIR"/LinuxServer/Engine/Binaries/Linux
chmod 770 UE4Server-Linux-Shipping
nohup ./UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby -log | tee /home/ut4/ut4-server.log
done
cd - >/dev/null