diff options
author | John J. Ellis <jje@gentoo.org> | 2003-09-27 11:27:51 +0000 |
---|---|---|
committer | John J. Ellis <jje@gentoo.org> | 2003-09-27 11:27:51 +0000 |
commit | f867392138134a66ccfc9a0d64e5ad5749549db6 (patch) | |
tree | 9cbd1454843da2c72a80e3802fde1b8a9a870cf5 /media-sound/teamspeak2-server-bin/files | |
parent | Initial revision, ~x86 masked. Closes #29139. (diff) | |
download | historical-f867392138134a66ccfc9a0d64e5ad5749549db6.tar.gz historical-f867392138134a66ccfc9a0d64e5ad5749549db6.tar.bz2 historical-f867392138134a66ccfc9a0d64e5ad5749549db6.zip |
Initial revision, ~x86 masked. Closes #29139.
Diffstat (limited to 'media-sound/teamspeak2-server-bin/files')
-rw-r--r-- | media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40 | 1 | ||||
-rw-r--r-- | media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40 b/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40 new file mode 100644 index 000000000000..834c59bf3c32 --- /dev/null +++ b/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40 @@ -0,0 +1 @@ +MD5 6521a57200259198e607631cc65c2873 ts2_server_rc2_201940.tar.bz2 576981 diff --git a/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 b/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 new file mode 100644 index 000000000000..2b384edf4559 --- /dev/null +++ b/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6,v 1.1 2003/09/27 11:27:47 jje Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting TeamSpeak Server" + start-stop-daemon --start --quiet --chuid teamspeak2 \ + --exec /opt/teamspeak2-server/server_linux -- \ + -db=/var/lib/teamspeak2-server/server.dbs \ + -ini=/var/lib/teamspeak2-server/server.ini \ + -log=/var/log/teamspeak2-server/server.log \ + -pid=/var/run/teamspeak2-server/server.pid \ + -sql=/opt/teamspeak2-server/sql/ \ + -httpdocs=/opt/teamspeak2-server/http/ &>/dev/null + eend $? +} + +stop() { + ebegin "Stopping TeamSpeak Server" + start-stop-daemon --stop --quiet \ + --pidfile /var/run/teamspeak2-server/server.pid + eend $? +} + |