Jump to content

333

Members
  • Posts

    5
  • Joined

  • Last visited

333's Achievements

  1. #!/bin/bash echo "Superleet startup script!" status=1 while [ $status -ne 0 ] do ./linuxjampded +set dedicated "2" +set fs_game "japlus" +exec "server.cfg" >log.txt 2>&1 status=$? if [ $status -ne 0 ] then date=`/bin/date` echo "Server crashed with status "$status" at "$date fi done echo "Server exited peacefully"
  2. I want one where I can still view everything going on in the server. The one that I do use just prints a message.
  3. Hi, I've gotten help with a restart script on here before but it was for JKA.. I was wondering if someone could assist me in making one for JK2 (I am a super noob VPS user, so not really help. More like make me one xD) The one that I had before worked perfectly and logged, but one disadvantage was I couldn't see what was actually happening in the server. I want to be able to see stuff like this if possible: If not, a regular restart script would be super nice~ Thanks! (Btw, ubuntu 12.10 64 bit if it makes a difference)
×
×
  • Create New...