Skip to content

Instantly share code, notes, and snippets.

@xanderio
Created November 1, 2015 13:44
Show Gist options
  • Save xanderio/96726bb58a0e32ab8ef8 to your computer and use it in GitHub Desktop.
Save xanderio/96726bb58a0e32ab8ef8 to your computer and use it in GitHub Desktop.
start on runlevel [3]
stop on runlevel [0126]
respawn
exec su minecraft_server -c "screen -D -m -S MINECRAFT -t MINECRAFT bash -c 'cd /opt/minecaft_server/1.7.10 && ./LaunchServer.sh'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment