Skip to content

Commit aab899d

Browse files
Stream only log
1 parent 304ab7c commit aab899d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

scripts/start.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,11 @@ LogSuccess "Server config patched"
8383

8484
LogInfo "Server is starting..."
8585

86-
exec xvfb-run --auto-servernum wine "$SERVER_EXEC" -log -STDOUT
86+
LOG_FILE="$SERVER_FILES/R5/Saved/Logs/R5.log"
87+
88+
xvfb-run --auto-servernum wine "$SERVER_EXEC" -log &
89+
wine_pid=$!
90+
91+
tail -F "$LOG_FILE" 2>/dev/null &
92+
93+
wait $wine_pid

0 commit comments

Comments
 (0)