mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-11-09 12:30:01 +00:00
Skip database link creation if already exist
This commit is contained in:
parent
5f8dea05e5
commit
f18bebaf01
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ fi
|
|||
|
||||
echo "- Linking host mounted database..."
|
||||
|
||||
ln -s $VOLUME/ts3server.sqlitedb /opt/teamspeak3-server_linux_amd64/ts3server.sqlitedb
|
||||
if ! [ -L /opt/teamspeak3-server_linux_amd64/ts3server.sqlitedb ]; then
|
||||
ln -s $VOLUME/ts3server.sqlitedb /opt/teamspeak3-server_linux_amd64/ts3server.sqlitedb
|
||||
fi
|
||||
|
||||
echo "- Link the files-folder into the host-mounted volume..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue