• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Server TeaSpeak Server AutoStart / Ubuntu Linux (Fix Version)

radinparva

Member
Hello, through this method you can create an automatic server start-up service.
1. Run command for create new service
Rich (BB code):
sudo nano /lib/systemd/system/tea3server.service
2. Insert code for launcher teaspeak
Rich (BB code):
[Unit]
Description=Teaspeak Service
Wants=network.target

[Service]
WorkingDirectory=/home/teaspeak
User=teaspeak
ExecStart=/home/teaspeak/teastart_minimal.sh
ExecStop=/home/teaspeak/teastart_minimal.sh stop
ExecReload=/home/teaspeak/teastart_minimal.sh restart
Restart=always
RestartSec=15

[Install]
WantedBy=multi-user.target
3. Ctrl + O Enter Ctrl + X
4. Enable service startup
Rich (BB code):
systemctl enable tea3server.service
5. Reboot Server
Rich (BB code):
shutdown -r
Good Luck
 
Last edited:

yamano

TeaSpeak Team
Staff member
TeaTeam
There is already several AutoStart methods published in the tutorials area..

Some examples:


You can simply add a crontab job too that will AutoStart the server (only on boot) without needing a lot work:
Code:
@reboot cd /home/teaspeak && ./teastart.sh start
 
Last edited:

radinparva

Member
There is already several AutoStart methods published in the tutorials area..

Some examples:


You can simply add a crontab job too that will AutoStart the server (only on boot) without needing a lot work:
Code:
@reboot cd /home/teaspeak && ./teastart.sh start
Hi, yes I did see the tutorials you sent but the methods mentioned do not work on all servers.
Each server company provides a set of restrictions and changes to operating systems that cause disruption.
This method is applicable to 99% of servers and is the most optimal method not only for this but for everything.
Thank you for your comment and message. 🌹
 

REDOSS

TeaSpeak Team
Staff member
TeaTeam

eduardoroeder

Fanatic member
Premium User
Anybody know how to attach a terminal to a running TeaSpeak instance from systemd? So that I can issue commands to the terminal itself.
 

radinparva

Member
Anybody know how to attach a terminal to a running TeaSpeak instance from systemd? So that I can issue commands to the terminal itself.
Code:
systemctl start tea3server.service
systemctl stop tea3server.service
systemctl restart tea3server.service
Hello, what do you mean?
 

eduardoroeder

Fanatic member
Premium User
Thats not what I meant, thats how to start and stop the service.

I mean how to attach a terminal to a running instance, started from systemd (started using the commands you sent).

By attaching the terminal I mean by being able to issue commands to the process such as dummy_crash.
 

radinparva

Member
Thats not what I meant, thats how to start and stop the service.

I mean how to attach a terminal to a running instance, started from systemd (started using the commands you sent).

By attaching the terminal I mean by being able to issue commands to the process such as dummy_crash.
In this regard, you should contact the development team.
@REDOSS