Skip to content

Commit

Permalink
Update rcon.yaml location.
Browse files Browse the repository at this point in the history
rcon-cli requires rcon.yaml to be in the current working directory.
  • Loading branch information
odakaui committed Jan 26, 2024
1 parent d4ed4b7 commit abc23dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit abc23dd

Please sign in to comment.