Problema con servidor de teamspeak

¿Algo falla o no sabes como funciona? Pide ayuda aquí!
Avatar de Usuario
diseva1
Pi Alpha
Pi Alpha
Mensajes: 27
Registrado: 03 Mar 2017, 22:44
Agradecido: 0
Agradecimiento recibido: 0

Buenas estoy intentando instalar el servidor de teamspeak 3 en mi raspberry utilizando exagear y todo funciona la cosa es que no consigo que se ejecute al inicio.

Este es el script del tutorial

Código: Seleccionar todo

#!/bin/sh
### BEGIN INIT INFO v2
# 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 http://www.SysADMINsLife.com
######################################
# Customize values for your needs: "User"; "DIR"
USER="server_admin"
DIR="/usr/local/teamspeak/teamspeak3-server_linux_x86"
###### Teamspeak 3 server start/stop script ######
case "$1" in
start)
su $USER -c "/usr/bin/exagear -- ${DIR}/ts3server_startscript.sh start"
;;
stop)
su $USER -c "/usr/bin/exagear -- ${DIR}/ts3server_startscript.sh stop"
;;
restart)
su $USER -c "/usr/bin/exagear -- ${DIR}/ts3server_startscript.sh restart"
;;
status)
su $USER -c "/usr/bin/exagear -- ${DIR}/ts3server_startscript.sh status"
;;
*)
echo "Usage: {start|stop|restart|status}" >&2
exit 1
;;
esac
exit 0
Y estos son los codigos

Código: Seleccionar todo

sudo chmod 755 /etc/init.d/teamspeak3

Código: Seleccionar todo

 sudo update-rc.d teamspeak3 defaults
SI OTROS PUEDEN HACERLO, YO TAMBIEN PUEDO
Responder