Inhaltsverzeichnis

Server

teamspeak3
#!/bin/sh
### BEGIN INIT INFO
# Provides: 		teamspeak3
# Required-Start: 	$local_fs $network
# Required-Stop:	$local_fs $network
# Default-Start: 	2 3 4 5
# Default-Stop: 	0 1 6
# Description: 		Teamspeak 3 Server
### END INIT INFO
 
 
# INIT Script by www.SysADMINsLife.com
######################################
# Customize values for your needs: "User"; "DIR"
 
USER="teamspeak3"
DIR="/usr/local/teamspeak3/teamspeak3-server_linux-amd64"
 
###### Teamspeak 3 server start/stop script ######
 
case "$1" in
start)
su $USER -c "${DIR}/ts3server_startscript.sh start"
;;
stop)
su $USER -c "${DIR}/ts3server_startscript.sh stop"
;;
restart)
su $USER -c "${DIR}/ts3server_startscript.sh restart"
;;
status)
su $USER -c "${DIR}/ts3server_startscript.sh status"
;;
*)
echo "Usage: {start|stop|restart|status}" >&2
exit 1
;;
esac
exit 0

Unter /etc/init.d speichern

FIXME

Client

Probleme beim Update

Wenn CA-Certificates installiert ist aber trotzdem nicht gefunden wird…

…export Zeile siehe unten in das Startskript einbauen:

$ cat /opt/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh 
#!/bin/bash
 
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
 
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
[...]