Problem/Bug Issue with startup script for linux

Discussion in 'General Help' started by Elsifo92, Sep 29, 2015.

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

    Elsifo92

    Hi! I'm trying to setup a stratup script for my server on my vps, but i'm having a weird problem.

    First of all, the script i'm using (not created by me, i've just slightly modified it to adadpt it to my environment):
    http://pastebin.com/Fh4BcE2Y

    If i manyally type the screen -dmS [...] command which is excecuted in the mc_start function both the screen session and the server starts correctly; if i start the server with the script instead, it immediately stops (log: http://pastebin.com/bQj8KWE3)

    The server jar i'm using is the spigot one, but the same effect happens even with the vanilla server jar.
    Any ideas?
     
  2. Online

    timtower Administrator Administrator Moderator

    @Elsifo92 Try using a less complicated script to start it
     
  3. Offline

    Elsifo92

    Well, yeah... Right now i'm using a very simple one wrote with my VERY basic skills... The thing is, I might need the complex one someday, so it would be nice if it worked like it should :D
     
Thread Status:
Not open for further replies.

Share This Page