mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Include RCON in docker image
This commit is contained in:
@@ -63,6 +63,13 @@ if [ -n "${RCON_PORT}" ]; then
|
||||
sed -i "s/RCONPort=[0-9]*/RCONPort=$RCON_PORT/" /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
|
||||
fi
|
||||
|
||||
# Configure RCON settings
|
||||
cat >~/.rcon-cli.yaml <<EOL
|
||||
host: localhost
|
||||
port: ${RCON_PORT}
|
||||
password: ${ADMIN_PASSWORD}
|
||||
EOL
|
||||
|
||||
printf "\e[0;32m*****STARTING SERVER*****\e[0m\n"
|
||||
echo "${STARTCOMMAND}"
|
||||
su steam -c "${STARTCOMMAND}"
|
||||
|
||||
Reference in New Issue
Block a user