my private gentoo overlay
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.

10 lines
323 B

#!/bin/bash
# Sets BASEDIR for teamspeak3-server
BASEDIR="/opt/teamspeak3-server"
# Work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
# Launch teamspeak3-server
cd "${BASEDIR}" && exec "${BASEDIR}/ts3server" $*