mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
A few more improvements
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user