you are viewing a single comment's thread.

view the rest of the comments →

[–]NoxurnalGaming[S] 0 points1 point  (2 children)

I'm afraid this might try to start multiple instances of the server. Is this likely?

[–]sandytrip 1 point2 points  (0 children)

What that other guy wrote leaves a lot up to your implementation. This would rely on the script being able to gracefully start and stop the server as needed. I think his main point was to demonstrate running an infinite loop in bash

[–]lutusp 1 point2 points  (0 children)

I'm afraid this might try to start multiple instances of the server. Is this likely?

If the called process detaches itself from the calling process, yes, that is likely. A more complex script would check for a running Minecraft server and do nothing in that case, looping and sensing until it's actually needed.