Question Bukkit for Linux - Kill Signals

Discussion in 'General Help' started by jwshields, Nov 30, 2016.

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

    jwshields

    Does Bukkit/Java respect kill signals?
    IE, if I send a sigterm/kill -15 to the parent java process, does Bukkit shutdown gracefully?

    Is there a proper way to kill Bukkit outside of the Bukkit console?
     
  2. Online

    timtower Administrator Administrator Moderator

    @jwshields I don't think that there is a nice way to do it without extending it in some way.
    You can kill it from within the game or get a plugin to act on files / database.
     
  3. Offline

    jwshields

    Hmm...
    The reason I ask is because I want an external program to monitor my instance. I have a shell script running inside a screen session and if it dies I want to have it respawn.
     
  4. Online

    timtower Administrator Administrator Moderator

    You need something to stream the console in both ways all the time.
    Then you connect to the stream to control it and then you can leave any time.
    Then you don't need to worry about screen sessions either.
     
Thread Status:
Not open for further replies.

Share This Page