https://bugs.contribs.org/show_bug.cgi?id=10494
--- Comment #53 from Jason Smith <jsm...@ourfamilyslife.com> ---
(In reply to John Crisp from comment #52)
> 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
>
> :-)
I did the first part but I am sorry I don't understand where in the script to
put the second part that you have listed.
--
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/