Just to make it clear already, I am a complete rookie on Linux.

I've recently decided to put my web server on Linux and also thought I could put my Teamspeak 3 Server there as well. But I'm starting to consider giving up Teamspeak on Linux, as I simply cannot get things to work properly.

I want the TS server to start whenever the server start (and if possible restart if ts crash, but that's not top priority right now.)

After a few hours I've seem to have the start on boot working. When the server start I can connect and stay connected for a couple of minutes, but then I get disconnected and can't connect again. Usually I even have to restart the server to get TS working again.

Any advice? I'm kinda losing my hope on this.