mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-12-20 14:41:17 +00:00
Merge pull request #17 from bboehmke/fix_restart
Fixed restart of container Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5f8dea05e5
commit
9c0c24fbf6
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