Created
January 23, 2015 00:24
-
-
Save mkropat/18c0be99ce764ade16b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# description "minecraft server" | |
start on runlevel [345] | |
stop on runlevel [^345] | |
console log | |
chdir /var/lib/minecraft/ | |
setuid minecraft | |
setgid minecraft | |
respawn | |
respawn limit 20 5 | |
exec /usr/bin/java -Xms1536M -Xmx2048M -jar /usr/local/share/minecraft_server.1.8.1.jar nogui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment