teamspeak3/scripts/docker-ts3.sh

29 lines
778 B
Bash
Raw Normal View History

2014-04-15 12:04:04 +00:00
#!/bin/bash
2014-04-15 12:27:20 +00:00
VOLUME=/teamspeak3
2014-04-15 12:04:04 +00:00
#-- ts 3 starten im hintergrund
#-- den erstellten files ordner symlinken
#-- die erstelle ts3 db symlinken
echo "This scripts checks the existence of the ts3server.sqlitedb."
echo "Checking..."
if [ -f $VOLUME/ts3server.sqlitedb ]
then
echo "$VOLUME/ts3server.sqlitedb exists."
echo "Creating link."
2014-04-15 12:33:03 +00:00
ln -s $VOLUME/ts3server.sqlitedb /opt/teamspeak3/ts3server.sqlitedb
2014-04-15 12:04:04 +00:00
fi
2014-04-15 12:33:03 +00:00
/opt/teamspeak3/ts3server_minimal_runscript.sh \
2014-04-15 12:04:04 +00:00
query_ip_whitelist="/teamspeak3/query_ip_whitelist.txt" \
query_ip_backlist="/teamspeak3/query_ip_blacklist.txt" \
logpath="/teamspeak3/logs/" \
licensepath="/teamspeak3/"
# inifile="/teamspeak3/ts3server.ini" \
# createinifile=1
#ln -s /opt/teamspeak3-server_linux-amd64/files/ /teamspeak3/files/