Auto restart script for bukkit on linux ubuntu

Discussion in 'Bukkit Help' started by shoter, Aug 4, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    shoter

  2. Offline

    JWhy

    Open up a console and type in:
    Code:
    su -
    cd /home/bukkit
    wget https://raw.github.com/Zachoz/CrashPrevention/master/start.sh
    chmod a+x start.sh
    
    Then start your server as a normal user with
    Code:
    cd /home/bukkit
    ./start.sh
    Make sure to replace '/home/bukkit' by your actual bukkit folder path
     
  3. Offline

    shoter

    JWhy is this cd /home/bukkit
    ./start.sh one command? or 2? Also what if I want to change the script to use 16GB ram instead of 2G I can't change it if I just download it
     
  4. Offline

    Jade

    That moves you to /home/bukkit (you shouldn't be running a server as root anyway.), then runs the start.sh you downloaded from

    https://raw.github.com/Zachoz/CrashPrevention/master/start.sh

    If you really don't want to go through the hassle of moving directories, then you can change it from /home/bukkit to wherever your server is.
     
  5. Offline

    shoter

  6. Offline

    Jade

    Edit the script to 16834M then?
     
  7. Offline

    shoter

    Jade I dont know how to... and I dont have the access to the github file to edit it there.
     
  8. Offline

    JWhy

    Just download it and THEN edit it : P
    Anyways it's GitHub (^= open source), so you can always edit it by forking it ;)
     
  9. Offline

    shoter

    How can I download then edit I am noob with linux :/ JWhy
     
  10. Offline

    JWhy

  11. Offline

    shoter

    never mind thanks a lot for the help!
     
Thread Status:
Not open for further replies.

Share This Page