1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

how to restart server?

Discussion in 'Server Help' started by Static, Oct 25, 2011.

  1. Static

    Static Shopkeep Stealer

    Messages:
    124
    So what I have been doing is finding the pid and killing it?

    How should I be doing it?

    Also I started the server from my Android phone and when I close the app I am not sure if it will kill the server.

    I used to start the server ./dedicated.sh
     
  2. Strech

    Strech KAG Guard Tester

    Messages:
    125
    I usually kill Logs/pid.txt and then restart using './dedicatedserver.sh &'. Without the '&' it will kill the server when you close the client...
     
  3. Static

    Static Shopkeep Stealer

    Messages:
    124
    I gave it a go but it didn't work :S...
     
  4. Strech

    Strech KAG Guard Tester

    Messages:
    125
    From the kag dir:
    -'cat Logs/pid.txt' to print kag's pid
    '-'kill *pid*'
    -'./dedicatedserver.sh &' to launch the server...
    If it doesn't work you're doing something very wrong... =P
     
  5. Static

    Static Shopkeep Stealer

    Messages:
    124
    lolz...

    I swear i even copied and pasted your command with out the ''

    Its running now so i will leave it till i need to change something.
     
  6. Static

    Static Shopkeep Stealer

    Messages:
    124
    Nope I def did this and it still failed.

    I am using debien 32bit.

    That make a diffrence?
     
  7. Static

    Static Shopkeep Stealer

    Messages:
    124
    Okay you read for this!?...

    the command should be "nohup ./dedicatedserver.sh > /dev/null &"

    Bam I am now winning!

    and to restart just find the pid and kill it!

    Have you updated the Wiki Server page to refelect my findings! :P

    Now anyone can be able to run there own server...
     
  8. Hapistorique

    Hapistorique KAG Guard Tester

    Messages:
    87
    trelawney likes this.