Skip to content

Commit

Permalink
fix(init-server): remove settings copy to use env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
João Pedro Barboza Garcia - JGA committed Jun 13, 2024
1 parent 09365f1 commit ecc7098
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rootfs/home/steam/init-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ echo "steam_appid: $(cat "$server/steam_appid.txt")"
echo " "

mkdir -p "$data/Settings"
if [ ! -f "$data/Settings/ServerGameSettings.json" ]; then
echo "$data/Settings/ServerGameSettings.json not found. Copying default file."
cp "$server/VRisingServer_Data/StreamingAssets/Settings/ServerGameSettings.json" "$data/Settings/" 2>&1
fi
if [ ! -f "$data/Settings/ServerHostSettings.json" ]; then
echo "$data/Settings/ServerHostSettings.json not found. Copying default file."
cp "$server/VRisingServer_Data/StreamingAssets/Settings/ServerHostSettings.json" "$data/Settings/" 2>&1
fi

echo "Starting V Rising Dedicated Server"

Expand Down

0 comments on commit ecc7098

Please sign in to comment.