mirror of
https://github.com/luzifer-docker/terraria.git
synced 2024-11-08 12:40:02 +00:00
11 lines
350 B
Bash
Executable file
11 lines
350 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if ! [ -e /data/config.ini ]; then
|
|
cp ${SERVER}/config.ini.default /data/config.ini
|
|
fi
|
|
|
|
# FIX: The ZIP archive does not have correct permissions
|
|
chmod +x /home/gameserver/terraria/Dedicated\ Server/Linux/TerrariaServer*
|
|
|
|
exec tail -f /dev/null | ${SERVER}/Dedicated\ Server/Linux/TerrariaServer.bin.x86_64 \
|
|
-config /data/config.ini
|