gentoo/media-sound/teamspeak-server-bin/files/ts3server

11 lines
267 B
Plaintext
Raw Normal View History

#! /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" $*