thijsvanloef / palworld-server-docker

A Docker Container to easily run a Palworld dedicated server.
https://hub.docker.com/r/thijsvanloef/palworld-server-docker
MIT License
2.43k stars 296 forks source link

Automatic server restart? #187

Closed TangJames closed 9 months ago

TangJames commented 9 months ago

Is there a way for automatic server restarts implemented?

FurkanVG commented 9 months ago

Just make a crontab job to restart your docker at X time. I dont think there is a reason to include this in the docker itself. For example, to restart daily at 6am:

0 6 * * * sudo docker restart palworld-server

thijsvanloef commented 9 months ago

https://github.com/thijsvanloef/palworld-server-docker/issues/37#issuecomment-1903518616 😄