[media-sound/teamspeak-server-bin] remove tsdns support as im migrating away to SRV records, as recommanded by upstream for a while now

This commit is contained in:
2014-12-08 06:12:01 +01:00
parent 5c78f87585
commit e0d2f4cff9
3 changed files with 1 additions and 66 deletions

View File

@@ -1,19 +0,0 @@
[Unit]
Description=TeamSpeak 3 TSDNS Server
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/teamspeak3-server
ExecStart=/opt/teamspeak3-server/sbin/tsdnsserver
ExecStop=/bin/kill -15 $MAINPID
StandardOutput=syslog
StandardError=syslog
User=teamspeak3
Group=teamspeak3
Restart=always
[Install]
WantedBy=multi-user.target
# vim:syntax=dosini

View File

@@ -1,34 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net
}
start() {
ebegin "Starting TeamSpeak 3 TSDNS Server"
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/tsdns.pid" --make-pidfile \
--user "teamspeak3" --chdir "/etc/teamspeak3-server" \
--exec "/opt/teamspeak3-server/sbin/tsdnsserver"
eend $?
}
stop() {
ebegin "Stopping TeamSpeak 3 TSDNS Server"
start-stop-daemon --stop --quiet \
--pidfile "/var/run/teamspeak3-server/tsdns.pid"
eend $?
}
restart() {
svc_stop
sleep 3
svc_start
}