https://bugs.contribs.org/show_bug.cgi?id=10494

--- Comment #52 from John Crisp <jcr...@safeandsoundit.co.uk> ---
OK, I can see that.

I tried adding a file to /etc/ld.so.conf.d
Failed, but no idea why.....

Then tried adding a file to /etc/profile.d

mcedit /etc/profile.d/teamspeak.sh

Add this line and then save the file:

export LD_LIBRARY_PATH=/opt/teamspeak:${LD_LIBRARY_PATH}


Then modify the teamspeak init script:

[root@test init.d]# diff -ruN teamspeak.old teamspeak
--- teamspeak.old       2018-04-16 15:58:11.754038993 +0200
+++ teamspeak   2018-04-16 16:01:47.594595363 +0200
@@ -40,7 +40,7 @@
                        fi
                        if [ -x "$BINARYNAME" ]; then

-                       LD_LIBRARY_PATH="${LIBRARYPATH}:${LD_LIBRARY_PATH}" 
+                       LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" 
                        exec /usr/local/bin/setuidgid ${USER} 
"./${BINARYNAME}" ${COMMANDLINE_PARAMETERS} > /dev/null & PID=$!
                                ps -p ${PID} > /dev/null 2>&1
                                if [ "$?" -ne "0" ]; then


signal-event reboot

[root@test init.d]# service teamspeak status
Server is running

:-)

-- 
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 contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to