add option to disable update on boot

This commit is contained in:
Thijs van Loef
2024-01-19 19:35:32 +01:00
parent 2b73f49931
commit 1f43e5be60
4 changed files with 13 additions and 6 deletions

View File

@@ -1,10 +1,14 @@
#!/bin/sh
printf "\e[0;32m*****STARTING INSTALL/UPDATE*****\e[0m"
mkdir -p /palworld
chown -R steam:steam /palworld
/home/steam/steamcmd/steamcmd.sh +force_install_dir "/palworld" +login anonymous +app_update 2394010 validate +quit
# ln -s /home/steam/server/palworld /palworld
if [ "${UPDATE_ON_BOOT}" = true ]; then
printf "\e[0;32m*****STARTING INSTALL/UPDATE*****\e[0m"
/home/steam/steamcmd/steamcmd.sh +force_install_dir "/palworld" +login anonymous +app_update 2394010 validate +quit
fi
./start.sh