diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 18:50:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 18:50:29 +0000 |
commit | ee7b15b6dfbaab73306375c345ac1457374b6297 (patch) | |
tree | 4580295399e7d8927d8e7ecd3cad5ef1c9ca105c /media-sound/teamspeak2-server-bin | |
parent | gpl2, forget the later (diff) | |
download | historical-ee7b15b6dfbaab73306375c345ac1457374b6297.tar.gz historical-ee7b15b6dfbaab73306375c345ac1457374b6297.tar.bz2 historical-ee7b15b6dfbaab73306375c345ac1457374b6297.zip |
gpl2, forget the later
Diffstat (limited to 'media-sound/teamspeak2-server-bin')
-rw-r--r-- | media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 b/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 index 2b384edf4559..f31e1e4fbc5b 100644 --- a/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 +++ b/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 @@ -1,14 +1,14 @@ #!/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 $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6,v 1.2 2004/03/04 18:50:29 vapier Exp $ depend() { - need net + need net } start() { - ebegin "Starting TeamSpeak Server" + ebegin "Starting TeamSpeak Server" start-stop-daemon --start --quiet --chuid teamspeak2 \ --exec /opt/teamspeak2-server/server_linux -- \ -db=/var/lib/teamspeak2-server/server.dbs \ @@ -17,13 +17,12 @@ start() { -pid=/var/run/teamspeak2-server/server.pid \ -sql=/opt/teamspeak2-server/sql/ \ -httpdocs=/opt/teamspeak2-server/http/ &>/dev/null - eend $? + eend $? } stop() { - ebegin "Stopping TeamSpeak Server" - start-stop-daemon --stop --quiet \ + ebegin "Stopping TeamSpeak Server" + start-stop-daemon --stop --quiet \ --pidfile /var/run/teamspeak2-server/server.pid - eend $? + eend $? } - |