Remove duplicate backup_configs, highlight serverconfig

This commit is contained in:
Price Hiller 2021-12-26 01:19:17 -06:00
parent 6e45dd6f99
commit c1e347fad0

View File

@ -229,7 +229,7 @@ start_server() {
mkdir -p "${server_save_dir}"
mkdir -p "${server_userdata_dir}"
log "info" "Configuring serverconfig.xml"
log "info" "Configuring $(important "serverconfig.xml")"
# Overwrite values that we want to control, e.g. server port
while IFS='' read -r; do
@ -256,7 +256,6 @@ start_server() {
printf "</ServerSettings>\n" >> "temp-serverconfig.xml"
fi
backup_configs "${server_directory}"
mv "temp-serverconfig.xml" "${server_config}"
log "info" "Starting $(important "${server_name}") located at $(important "${server_directory}") on port $(important "${server_port}")"