Minecraft wiki entry for Create_a_Mac_OS_X_startup_daemon, associated text: In the above we source start.sh and stop.sh, rather than running them in subshells. We need java to run in the background though, so start.sh is changed to do that. It also saves the PID in minecraft.pid. Because tail wasn't exiting, I used a fifo too.