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 fi
# Configure RCON settings # Configure RCON settings
cat >~/.rcon-cli.yaml <<EOL cat >/home/steam/server/rcon.yaml <<EOL
host: localhost default:
port: ${RCON_PORT} address: "127.0.0.1:${RCON_PORT}"
password: ${ADMIN_PASSWORD} password: ${ADMIN_PASSWORD}
EOL EOL
printf "\e[0;32m*****STARTING SERVER*****\e[0m\n" printf "\e[0;32m*****STARTING SERVER*****\e[0m\n"