* [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak-server-bin/files: teamspeak3-server.rc
@ 2010-01-20 8:08 Christian Parpart (trapni)
0 siblings, 0 replies; 5+ messages in thread
From: Christian Parpart (trapni) @ 2010-01-20 8:08 UTC (permalink / raw
To: gentoo-commits
trapni 10/01/20 08:08:15
Modified: teamspeak3-server.rc
Log:
workaround for the EPERM bug
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Revision Changes Path
1.2 media-sound/teamspeak-server-bin/files/teamspeak3-server.rc
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?r1=1.1&r2=1.2
Index: teamspeak3-server.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- teamspeak3-server.rc 29 Dec 2009 22:55:37 -0000 1.1
+++ teamspeak3-server.rc 20 Jan 2010 08:08:15 -0000 1.2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.1 2009/12/29 22:55:37 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.2 2010/01/20 08:08:15 trapni Exp $
depend() {
need net
@@ -11,13 +11,14 @@
start() {
ebegin "Starting TeamSpeak 3 Server"
- # we currently cannot --chuid into teamspeak3 as there seems to be an EPERM-bug in ts3
- start-stop-daemon --start --quiet \
+ # temporay fix for EPERM bug
+ chown teamspeak3.teamspeak3 /dev/shm/7gbhujb54g8z9hu43jre8
+
+ start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
- --background \
- --exec "/usr/sbin/ts3server" -- \
+ --chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
+ --exec "/opt/teamspeak3-server/ts3server-bin" -- \
inifile="/etc/teamspeak3-server/server.conf"
-
eend $?
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak-server-bin/files: teamspeak3-server.rc
@ 2010-01-20 17:55 Christian Parpart (trapni)
0 siblings, 0 replies; 5+ messages in thread
From: Christian Parpart (trapni) @ 2010-01-20 17:55 UTC (permalink / raw
To: gentoo-commits
trapni 10/01/20 17:55:03
Modified: teamspeak3-server.rc
Log:
improve EPERM-bug workaround
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Revision Changes Path
1.3 media-sound/teamspeak-server-bin/files/teamspeak3-server.rc
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?r1=1.2&r2=1.3
Index: teamspeak3-server.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- teamspeak3-server.rc 20 Jan 2010 08:08:15 -0000 1.2
+++ teamspeak3-server.rc 20 Jan 2010 17:55:02 -0000 1.3
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.2 2010/01/20 08:08:15 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.3 2010/01/20 17:55:02 trapni Exp $
depend() {
need net
@@ -12,7 +12,7 @@
ebegin "Starting TeamSpeak 3 Server"
# temporay fix for EPERM bug
- chown teamspeak3.teamspeak3 /dev/shm/7gbhujb54g8z9hu43jre8
+ rm -f /dev/shm/7gbhujb54g8z9hu43jre8
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak-server-bin/files: teamspeak3-server.rc
@ 2010-09-11 16:01 Christian Parpart (trapni)
0 siblings, 0 replies; 5+ messages in thread
From: Christian Parpart (trapni) @ 2010-09-11 16:01 UTC (permalink / raw
To: gentoo-commits
trapni 10/09/11 16:01:50
Modified: teamspeak3-server.rc
Log:
init-script fixes
(Portage version: 2.2_rc78/cvs/Linux x86_64)
Revision Changes Path
1.4 media-sound/teamspeak-server-bin/files/teamspeak3-server.rc
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?r1=1.3&r2=1.4
Index: teamspeak3-server.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- teamspeak3-server.rc 20 Jan 2010 17:55:02 -0000 1.3
+++ teamspeak3-server.rc 11 Sep 2010 16:01:50 -0000 1.4
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.3 2010/01/20 17:55:02 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.4 2010/09/11 16:01:50 trapni Exp $
depend() {
need net
@@ -11,21 +11,27 @@
start() {
ebegin "Starting TeamSpeak 3 Server"
- # temporay fix for EPERM bug
+ # ensure, that the TS3-server finds all custom supplied shared objects on startup.
+ export LD_LIBRARY_PATH="/opt/teamspeak3-server:$LD_LIBRARY_PATH"
+
+ # temporay fix for EPERM bug (we still leave it here to make sure it is *really* not there)
rm -f /dev/shm/7gbhujb54g8z9hu43jre8
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
--chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
- --exec "/opt/teamspeak3-server/ts3server-bin" -- \
+ --exec "/usr/sbin/ts3server" -- \
inifile="/etc/teamspeak3-server/server.conf"
+
eend $?
}
stop() {
ebegin "Stopping TeamSpeak Server"
+
start-stop-daemon --stop --quiet \
--pidfile "/var/run/teamspeak3-server/server.pid"
+
eend $?
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak-server-bin/files: teamspeak3-server.rc
@ 2012-05-10 20:14 Christian Parpart (trapni)
0 siblings, 0 replies; 5+ messages in thread
From: Christian Parpart (trapni) @ 2012-05-10 20:14 UTC (permalink / raw
To: gentoo-commits
trapni 12/05/10 20:14:34
Modified: teamspeak3-server.rc
Log:
version bump and fix for #392443
(Portage version: 2.1.10.52/cvs/Linux x86_64)
Revision Changes Path
1.5 media-sound/teamspeak-server-bin/files/teamspeak3-server.rc
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?r1=1.4&r2=1.5
Index: teamspeak3-server.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- teamspeak3-server.rc 11 Sep 2010 16:01:50 -0000 1.4
+++ teamspeak3-server.rc 10 May 2012 20:14:34 -0000 1.5
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.4 2010/09/11 16:01:50 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.5 2012/05/10 20:14:34 trapni Exp $
depend() {
need net
@@ -19,7 +19,7 @@
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
- --chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
+ --user "teamspeak3" --chdir "/opt/teamspeak3-server" \
--exec "/usr/sbin/ts3server" -- \
inifile="/etc/teamspeak3-server/server.conf"
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak-server-bin/files: teamspeak3-server.rc
@ 2012-12-21 19:24 Markos Chandras (hwoarang)
0 siblings, 0 replies; 5+ messages in thread
From: Markos Chandras (hwoarang) @ 2012-12-21 19:24 UTC (permalink / raw
To: gentoo-commits
hwoarang 12/12/21 19:24:30
Modified: teamspeak3-server.rc
Log:
Apply fix from #438050 for missing /var/run/teamspeak3 server directory. Thanks to Phil Stracchino <alaric@caerllewys.net>
(Portage version: 2.1.11.37/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Revision Changes Path
1.6 media-sound/teamspeak-server-bin/files/teamspeak3-server.rc
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc?r1=1.5&r2=1.6
Index: teamspeak3-server.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- teamspeak3-server.rc 10 May 2012 20:14:34 -0000 1.5
+++ teamspeak3-server.rc 21 Dec 2012 19:24:29 -0000 1.6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.5 2012/05/10 20:14:34 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc,v 1.6 2012/12/21 19:24:29 hwoarang Exp $
depend() {
need net
@@ -17,6 +17,9 @@
# temporay fix for EPERM bug (we still leave it here to make sure it is *really* not there)
rm -f /dev/shm/7gbhujb54g8z9hu43jre8
+ [ -d /var/run/teamspeak3-server ] || mkdir /var/run/teamspeak3-server
+ chown teamspeak3:teamspeak3 /var/run/teamspeak3-server
+
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
--user "teamspeak3" --chdir "/opt/teamspeak3-server" \
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-12-21 19:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 17:55 [gentoo-commits] gentoo-x86 commit in media-sound/teamspeak-server-bin/files: teamspeak3-server.rc Christian Parpart (trapni)
-- strict thread matches above, loose matches on Subject: below --
2012-12-21 19:24 Markos Chandras (hwoarang)
2012-05-10 20:14 Christian Parpart (trapni)
2010-09-11 16:01 Christian Parpart (trapni)
2010-01-20 8:08 Christian Parpart (trapni)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox