Restart script

Discussion in 'Spigot Discussion' started by joehot200, Dec 16, 2012.

  1. joehot200

    Supporter

    What exactly do i put in the restart script? i cannot seem to find it anywhere, and my server keeps crashing every five hours :(.

    thanks in advance,
    ~joe~
     
  2. I also would like to know how to use that with an screen startscript like that:
    #!/bin/bash
    screen -S skyblock java -Xmx1G -Xms30M -XX:MaxPermSize=40M -jar craftbukkit.jar
     
  3. md_5

    Administrator Developer

    Just put that startup script there.
    restart-script: /path/to/script.sh
     
    • Informative Informative x 1
  4. When I do this, the screen session stops, but there wont open a new one. And yes, the script is executable.
     
  5. joehot200

    Supporter

    i do not know what the restart script is, or what to put in it.