Auto restart after crashing (hosted server) [Solved]

Discussion in 'Spigot Discussion' started by yorik100, May 16, 2016.

Thread Status:
Not open for further replies.
  1. Hi, I'm searching for a start.sh for hosted minecraft servers, because everytime it crash I need to restart by myself and it's very annoying for players. My server's main file for start : spigot-1.8.8.jar
    (I want to restart after 1 min of crash)
     
    #1 yorik100, May 16, 2016
    Last edited: May 16, 2016
  2. ownage hosting
    minespan
    bisect hosting

    or the best of them all
    GGServers
    that was a joke.
     
  3. Not that, I just want a start.sh for an hosted server... I've already a server, but I don't have a start.sh and someone told that it's a different start.sh for hosted servers
     
  4. o, can you install / edit your current start.sh ?
     
  5. I don't have any start.sh at the moment, and never tried it
     
  6. Are you running a VPS/Dedi, or are you using shared hosting?
     
  7. VPS I think
     
  8. Okay, you must have a start.sh file
    and to run it you use "sh start.sh" ?
     
  9. I don't have start.sh, when my server crash I get Startup script './start.sh' does not exist! Stopping server.
     
  10. Oh, so how do you start your server..?
     
  11. I press start button on the website
     
  12. So you use multicraft?
     
  13. Maybe, I don't know what is that so...
     
  14. Does it say multicraft in the top left?
     
  15. yes
     
  16. So you use Shared Hosting.

    There is no way to edit your start file, however you can contact your host by making a ticket and requesting the add an auto restart code into your file.

    Just sent this:


    Hi there, when my server crashes/I restart it, I get this " './start.sh' does not exist! Stopping server."
    Please can you add something that fixes this, and when my server goes down, it automatically restarts.
    Thank you - <your name>
     
    • Useful Useful x 1
  17. But it launch start.sh after a crash, it's not that, the problem is that I don't have start.sh, it try to launch it but it's missing
     
  18. That's why you should make a ticket to your hosting provider; use the one I sent.
    Edit it accordingly
     
  19. ty
     
  20. No problem, please mark the thread as solved and lock it :p
     
Thread Status:
Not open for further replies.