Remove duplicate backup_configs, highlight serverconfig
This commit is contained in:
parent
6e45dd6f99
commit
c1e347fad0
@ -229,7 +229,7 @@ start_server() {
|
|||||||
mkdir -p "${server_save_dir}"
|
mkdir -p "${server_save_dir}"
|
||||||
mkdir -p "${server_userdata_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
|
# Overwrite values that we want to control, e.g. server port
|
||||||
while IFS='' read -r; do
|
while IFS='' read -r; do
|
||||||
@ -256,7 +256,6 @@ start_server() {
|
|||||||
printf "</ServerSettings>\n" >> "temp-serverconfig.xml"
|
printf "</ServerSettings>\n" >> "temp-serverconfig.xml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
backup_configs "${server_directory}"
|
|
||||||
mv "temp-serverconfig.xml" "${server_config}"
|
mv "temp-serverconfig.xml" "${server_config}"
|
||||||
|
|
||||||
log "info" "Starting $(important "${server_name}") located at $(important "${server_directory}") on port $(important "${server_port}")"
|
log "info" "Starting $(important "${server_name}") located at $(important "${server_directory}") on port $(important "${server_port}")"
|
||||||
|
Loading…
Reference in New Issue
Block a user