terraria/start.sh

8 lines
200 B
Bash
Executable file

#!/bin/bash
if ! [ -e /data/config.ini ]; then
cp ${SERVER}/config.ini.default /data/config.ini
fi
exec tail -f /dev/null | ${SERVER}/server/TerrariaServer.bin.x86_64 \
-config /data/config.ini