ertagh / teamspeak3-server-arm

150 stars 11 forks source link

Step by step guide? Auto booting ? #26

Closed capsload2 closed 2 years ago

capsload2 commented 2 years ago

Hey,

i have no idea how to start the server automatically after booting my raspberry zero w 2.

docker was created, server runs.

Just didnt come back online after a reboot/ or / boot.

ertagh commented 2 years ago

Hi there, well, the default setting of the container is that it has to be started manually after rebooting.

I guess you are using the docker run command? In that case just add --restart unless-stopped to the command. Should look like this: docker run -d --name TeamSpeak3_Server --restart unless-stopped -e TS_UPDATE=1 [...]

Hope that helps!

capsload2 commented 2 years ago

Thanks!

If i restart the VPS it will automatically start the docker?

ertagh commented 2 years ago

Yes! The container will always restart, unless you stopped it manually.