Updated pterodactyl InstallScript
This commit is contained in:
parent
44dbf25232
commit
30de1f1db8
|
|
@ -2,6 +2,9 @@
|
|||
# steamcmd Base Installation Script
|
||||
#
|
||||
# Server Files: /mnt/server
|
||||
echo -e "╔═════════════════════╗"
|
||||
echo -e "║ InstallScript ║"
|
||||
echo -e "╚═════════════════════╝\n"
|
||||
|
||||
SRCDS_APPID=258550
|
||||
|
||||
|
|
@ -30,17 +33,13 @@ chown -R root:root /mnt
|
|||
export HOME=/mnt/server
|
||||
|
||||
## install game using steamcmd
|
||||
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
|
||||
|
||||
## set up 32 bit libraries
|
||||
mkdir -p /mnt/server/.steam/sdk32
|
||||
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
|
||||
|
||||
## set up 64 bit libraries
|
||||
mkdir -p /mnt/server/.steam/sdk64
|
||||
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
|
||||
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} validate +quit
|
||||
|
||||
## Add custom Start script
|
||||
touch /mnt/server/start.sh
|
||||
echo "#esto es una prueba, completa el texto" > start.sh
|
||||
chmod +x /mnt/server/start.sh
|
||||
curl -sSL "https://git.drmackiver.es/rust.drmackiver.es/rust-server-launch-script/raw/branch/dev/start.sh" > start.sh
|
||||
chmod +x /mnt/server/start.sh
|
||||
|
||||
echo -e "╔═════════════════════╗"
|
||||
echo -e "║ END InstallScript ║"
|
||||
echo -e "╚═════════════════════╝\n"
|
||||
Loading…
Reference in New Issue
Block a user