2012-08-04 13:38:21 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
BASEDIR="/opt/teamspeak3-server"
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
|
|
|
|
|
|
|
|
# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
|
|
|
|
cd "${BASEDIR}"
|
|
|
|
|
2013-09-06 17:11:54 +02:00
|
|
|
exec "${BASEDIR}/sbin/ts3server-bin" $*
|