nimmis / docker-spigot

A docker container with spigot, builds spigot.jar on first start
175 stars 82 forks source link

Suggestion #4

Closed kn4a-com closed 8 years ago

kn4a-com commented 8 years ago

Maybe you can change spigot_init.sh to start.sh because that's the standard .sh file what Spigot will use for restarting the server when it crashes.

Source: spigot.yml restart-on-crash: true restart-script: ./start.sh

nimmis commented 8 years ago

As you can see I have removed the start script so it runs as a daemon instead. Supervisord will take care of the automatic restart and also the world data is now flushed to disk when you issues a docker stop command.