File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -421,15 +421,17 @@ function setup_palworld_settings_ini() {
421421function setup_rcon_yaml () {
422422 if [[ -n ${RCON_ENABLED+x} ]] && [ " $RCON_ENABLED " == " true" ] ; then
423423 ei " >>> RCON is enabled - Setting up rcon.yaml ..."
424+ ew " > Copying rcon.yaml.template to ${RCON_CONFIG_FILE} "
425+ cp --no-preserve=ownership " configs/rcon.yaml" " ${RCON_CONFIG_FILE} "
424426 if [[ -n ${RCON_PORT+x} ]]; then
425427 sed -i " s/###RCON_PORT###/$RCON_PORT /" " $RCON_CONFIG_FILE "
426428 else
427- ee " > RCON_PORT is not set, please set it for RCON functionality to work!"
429+ ee " > ADMIN_PASSWORD is not set, please set it for RCON functionality to work!"
428430 fi
429431 if [[ -n ${ADMIN_PASSWORD+x} ]]; then
430432 sed -i " s/###ADMIN_PASSWORD###/$ADMIN_PASSWORD /" " $RCON_CONFIG_FILE "
431433 else
432- ee " > RCON_PORT is not set, please set it for RCON functionality to work!"
434+ ee " > ADMIN_PASSWORD is not set, please set it for RCON functionality to work!"
433435 fi
434436 es " >>> Finished setting up 'rcon.yaml' config file"
435437 else
You can’t perform that action at this time.
0 commit comments