From 4d0113317c5a43b32dc7605d49dff55a97d21329 Mon Sep 17 00:00:00 2001 From: ut Date: Mon, 29 Apr 2024 13:21:10 +0000 Subject: [PATCH] update --- Dockerfile | 2 +- runServer | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e42171c..4b7107c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ RUN chmod +x LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping #RUN chown -R ut:ut LinuxServer/ RUN LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby -CMD LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby \ No newline at end of file +CMD while true; LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby; done; \ No newline at end of file diff --git a/runServer b/runServer index 48782f0..5c2f2c3 100755 --- a/runServer +++ b/runServer @@ -1,2 +1,3 @@ #!/bin/bash + docker run --name ut4hubserver --rm -d -p 14000:14000/udp -p 7777:7777/udp -p 7787:7787/udp -p 8000:8000/udp -v ./config:/home/ut/LinuxServer/UnrealTournament/Saved/Config/LinuxServer/ -v ./paks:/home/ut/LinuxServer/UnrealTournament/Content/Paks/ -v ./rulesets:/home/ut/LinuxServer/UnrealTournament/Saved/Config/Rulesets/ ut4hubserver