A few more improvements

This commit is contained in:
Jack Kawell
2021-12-08 01:54:44 -07:00
parent f185c8b5db
commit 293aaff2a5
3 changed files with 15 additions and 9 deletions

View File

@@ -27,9 +27,15 @@ function symlink_config_files() {
ln -s /configs/worldconfig.ini /app/worldconfig.ini
}
# setup symlinks for volume files
symlink_client_files
symlink_config_files
if [[ ! -f "/app/initialized" ]]; then
# setup symlinks for volume files
symlink_client_files
symlink_config_files
# do not run symlinks more than once
touch /app/initialized
else
echo "Server already initialized"
fi
# start the server
echo "Start MasterServer"