Untitled

 avatar
unknown
plain_text
3 months ago
500 B
9
Indexable
#!/bin/bash

termux-wake-lock

echo "Starting Fedora environment..."

startfedora.sh << 'EOF'

LOGFILE="/root/mcserver.log"

echo "================================="
echo " Minecraft + Playit Server Start "
echo "================================="
echo "Logging to: $LOGFILE"
echo ""

cd /root/Desktop/Forge1.7.10

(
    echo "Starting Minecraft Forge server..."
    ./start.sh &

    echo "Starting Playit tunnel..."
    /root/Downloads/playit-linux-aarch64 &

    wait
) 2>&1 | tee -a $LOGFILE

EOF
Editor is loading...
Leave a Comment