diff options
author | Christian Parpart <trapni@gentoo.org> | 2010-01-20 08:08:15 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2010-01-20 08:08:15 +0000 |
commit | a8d58c10c1bea596908139e57749373aad38ec4b (patch) | |
tree | 7d68ce8328c8b04f03dac0f56ddfeed6b516edab /media-sound/teamspeak-server-bin | |
parent | version bump plus license update (diff) | |
download | gentoo-2-a8d58c10c1bea596908139e57749373aad38ec4b.tar.gz gentoo-2-a8d58c10c1bea596908139e57749373aad38ec4b.tar.bz2 gentoo-2-a8d58c10c1bea596908139e57749373aad38ec4b.zip |
workaround for the EPERM bug
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/teamspeak-server-bin')
-rw-r--r-- | media-sound/teamspeak-server-bin/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/teamspeak-server-bin/files/teamspeak3-server.rc | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/media-sound/teamspeak-server-bin/ChangeLog b/media-sound/teamspeak-server-bin/ChangeLog index fd48a3f9a902..6dbb1b176974 100644 --- a/media-sound/teamspeak-server-bin/ChangeLog +++ b/media-sound/teamspeak-server-bin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/teamspeak-server-bin # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.5 2010/01/20 08:02:57 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.6 2010/01/20 08:08:15 trapni Exp $ + + 20 Jan 2010; Christian Parpart <trapni@gentoo.org> + files/teamspeak3-server.rc: + workaround for the EPERM bug *teamspeak-server-bin-3.0.0_beta15 (20 Jan 2010) diff --git a/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc b/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc index a0bb6176cc9b..6bfcbaa9e395 100644 --- a/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc +++ b/media-sound/teamspeak-server-bin/files/teamspeak3-server.rc @@ -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 @@ depend() { 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 $? } |