gentoo/media-sound/teamspeak-server-bin/files/ts3server
Robert Förster e87c0b9b65 [media-sound/teamspeak-server-bin] version bump from tree, includes TSDNS support.
NB: TSDNS support in the ebuild might go away in the future in favor of SRV records as they do not require some additional services
2012-08-04 13:38:21 +02:00

11 lines
262 B
Bash

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