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

Run as service

lvlkoo

Active member
How to use start sh start scripts? What the difference?
I want to run server as service to get it auto restarted after crash
 

Kevinos

Fanatic member
Premium User
Just run ./teastart_minimal.sh

For the auto restart, you can take example of this script, and run on a cron

#!/bin/bash
ps cax | grep TeaSpeakServer > /dev/null
if [ $? -eq 0 ]; then
echo "Process is running."
else
echo "Process is not running."
/home/teaspeak/teastart_minimal.sh
fi
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
I think your question or request is answered and there are already a lot of tutorials here :)