Problem/Bug Can't restart server SSH

Discussion in 'Bukkit Help' started by Kowak, Feb 18, 2015.

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

    Kowak

    Hello guys,
    I have a server on a SSH and in these last days I have some troubles with restart.
    I had (untile yesterday) the AutoShutdown plugin that simly closes the server and waits that restart scripts works. By the way nothing works, the server just go offline and script doesn't start.
    I also notice that until last week screen (the app for multi screens on Linux, i use ubuntu server 14.04) had minecraft server in list as "Attached", from few days ago each time the server goes online the minecraft screen console is "detacched".
    Anyone can help? Thanks
     
  2. Offline

    Tecno_Wizard

    @Kowak, the attached means that it is still working, detached means that it is disabled. Can you send us the script that is supposed to restart the server?
     
  3. Offline

    Kowak

    Start script
    Code:
    # /bin/sh
    cd /home/realmcraft/
    while true
    do
    screen -S realmcraft java -Xms23G -Xmx23G -XX:MaxPermSize=128M -jar spigot.jar nogui
    echo Its off..sleeping for 5
    sleep 5
    done
    and restart should be
    Code:
    screen -d -r realmcraft
    
     
Thread Status:
Not open for further replies.

Share This Page