TeamSpeak3 autostart and user creating

Hi,
I have 2 questions.

First:
Is there any way to create autostart script, when my VPS reboot? It’s annoying to start it manually.

Second:
Can you help me with creating user for TeamSpeak in Debian 10? I don’t want to run it by root permissions.

Sorry for my English.

1. You can creat a Cronjob

Type in the command line

crontab -e

and add this into the file and save it

@reboot cd /home/yourteamspeakdirectory && ./ts3server_startscript.sh start

2. Type in the command line

adduser --disabled-login teamspeak

than grant Premission for the folder with

chown -R teamspeak:teamspeak /home/yourteamspeakdirectory/

And if I want the server to be turned on via the user named “teamspeak”, do I have to create that cronjob on it?

yeah just login as root and after that type in the command line

su teamspeak

and do the steps I wrote in the previous post

Okay, thank you very much.

twitch instagram twitter facebook