BungeeCord Crash Restart?

Discussion in 'BungeeCord Discussion' started by chillecharlie, Sep 7, 2013.

  1. My bungeecord often crashes.
    Now im not complaining, and this is not a bug report.
    But im asking if anybody knows a way to make bungeecord restart after it crashes?
    I am running Linux.

    Thanks in advance!
     
  2. CustomForms

    CustomForms Retired Moderator
    Retired Supporter

    I think a better alternative at this point would be to find out why your bungeecord keeps crashing.
     
    • Agree Agree x 1
  3. joehot200

    Supporter

    Set your run script to this:

    # /bin/sh
    while true
    do
    //Your startup line here - e.g. --->\\ java -d64 (forces 64-bit java) -Xincgc (enabled garbage collection) -Xmx10G (sets max RAM usage to 10GB) -jar spigot.jar (Sets jar to start)
    echo Its off..sleeping for 5
    sleep 5
    done
     
    • Winner Winner x 1
  4. Thanks, im going to try this out! :)
     
  5. I confirm that this works! :) awesome you made me feel alot safer for leaving my server unmanned ^^