You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#! /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}"
|
|
|
|
exec "${BASEDIR}/sbin/ts3server-bin" $*
|