https://bugs.contribs.org/show_bug.cgi?id=10494
--- Comment #21 from John Crisp <[email protected]> ---
Setting the path works.
The one issue is setting the script to start the server as user teamspeak so it
can be run from init with
service teamspeak start
The old TS2 init script started it with su like this:
su $USER -c "$DIR/server_linux -PID=tsserver2.pid"
But the newer script is more complicated and checks for root at the start and
then executes the server like this:
export LD_LIBRARY_PATH="${LIBRARYPATH}:${LD_LIBRARY_PATH}"
"./${BINARYNAME}" ${COMMANDLINE_PARAMETERS} > /dev/null &
PID=$!
ps -p ${PID} > /dev/null 2>&1
I believe there may be a way to set the UID and GID in the script file
something like this:
http://thedjbway.b0llix.net/daemontools/uidgid.html
Any suggestions ?
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/