Aktualizovat adjust.sh
All checks were successful
Build Minecraft Image / Build-Minecraft-Stats-Image (push) Successful in 42s

This commit is contained in:
Radim Lipovčan 2024-06-19 11:38:07 +02:00
parent 558443dc1b
commit 600bccf374

View File

@ -12,7 +12,7 @@ mkdir -p "/data/plugins/ChatControlRed"
FILE_PATH="/data/plugins/ChatControlRed/bungee.yml"
# Replace the line in the file
sed -i "s/^Server_Name: 'server_name'/Server_Name: '$HOSTNAME'/" $FILE_PATH
sed -i "s/^Server_Name: server_name/Server_Name: $HOSTNAME/" $FILE_PATH
FILE_PATH="/data/server.properties"