View Single Post
Old 04-20-2002, 08:32 AM   #56
Mastiphal's Avatar
Join Date: Apr 2002
Posts: 2
The only problem I see with screen, is that it won't automatically restart the server if it crashes.

I dont know how big a problem this is, but i have seen my server crash from time to time, and therefore I would like it to start automatically again.

So I made a script /usr/bin/jediknight2
which has this line of code:

while true; do cd /usr/local/games/jk2/; ./jk2ded +exec server.cfg > /dev/null 2>&1; sleep 1; done &

And then I just start it by typing "jediknight2" as user jk

Since I cant attach to the server console as one can with screen, does anyone know of a console-program for jk2ded ?
Kinda like "halfd" for Half-Life based servers..
Mastiphal is offline   you may: