SHARE
TWEET

minecraftd

ImNtReal Jan 9th, 2013 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. srvDir="/srv/minecraft"
  4. serverJar="/usr/share/java/minecraft-server/minecraft-server.jar"
  5.  
  6. cd $srvDir
  7. screen -dmS minecraft su minecraft -c "java -Xmx1024M -Xms512M -jar $serverJar"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top