Update rcon.yaml location.

rcon-cli requires rcon.yaml to be in the current working directory.
This commit is contained in:
Odaka Ui
2024-01-26 11:53:35 -08:00
parent d4ed4b70a3
commit abc23dd5c5

View File

@@ -68,10 +68,10 @@ if [ -n "${RCON_PORT}" ]; then
fi
# Configure RCON settings
cat >~/.rcon-cli.yaml <<EOL
host: localhost
port: ${RCON_PORT}
password: ${ADMIN_PASSWORD}
cat >/home/steam/server/rcon.yaml <<EOL
default:
address: "127.0.0.1:${RCON_PORT}"
password: ${ADMIN_PASSWORD}
EOL
printf "\e[0;32m*****STARTING SERVER*****\e[0m\n"