Restart scripts for linux jka servers.

Here's one of those files that's pretty much completely out of my grasp. Gotta hate that, y'know? =_o Well, the title speaks for itself....

Re-Upload

Uploading...
Do not refresh or leave this page!

Re-Upload

The jka_restart_script_linux.zip file you have requested: Star Wars: Jedi Knight - Jedi Academy / Server Tools / Restart scripts for linux jka servers. - 2KB is not available. Perhaps try browsing all files for the game Star Wars: Jedi Knight - Jedi Academy and upload any files you want to share or are missing.

We are calling on our community to help submit files that were previously hosted on GameFront / FileFront but are now missing.

If you have this file, please upload it using the form below (please ensure the filename and filesize match) and we shall do the rest.

File Description

Here's one of those files that's pretty much completely out of my grasp. Gotta hate that, y'know? =_o

Well, the title speaks for itself. These scripts shall allegedly restart your JA server when it crashes. My suggestion? Definitely let the author know if this script works or not in the comments. I don't have linux anywhere in this house, so I can't verify it's efficacy.

Just follow the readme's instructions and ...crash your server somehow? XD

- Averus Retruthan

Read More

Readme
JKA linux server restart script
Maded by Defender 2008
dungan_idaho@hotmail.com

Fixed and Mixed information from linux forums
now works with linux jka servers.

--------------------------------------------------------------

In Linux you have home folder where you may create 'allies'
own customized commands and scripts.

Its the 'bin' folder.

homemainuserbin

create it if don't exist, copy files or/and folder there
and edit for your own use.

put both files in homemainuserbin
or copy this bin folder with files into your home folder.

Then go chmod them: 

cd bin  
chmod 755 jka
chmod 755 jkastart


Ok.  Simple what they do:

1) 'jkastart' script simple opens screen 'jka110' and starts script 'jka' in it.
2) 'jka' script has specified commands for linuxjampded +set fs_game base example.

In 'jka' script is while loop in it, 
if process fails it will relaunch
same 'jka' script again in same screen.

Server restarts.

Basically works with any servers.




file name : jkastart

screen -dmS jka110 jka
#### screen -dmS jka110 jka    ..  opens 'jka' script into screen named 'jka110'
#### --> more easy then see in 'screen -ls' what to kill when needed
#### restarts server into this one screen when jka crashed



file name : jka

!#/bin/bash

while [ "1" ]; do
cd /mnt/linux/JKA110 ####here is location of you jka installation
&&./linuxjampded +set dedicated 2  +set net_port 29070 +set fs_game base  +set com_hunkmegs 64 +exec server.cfg
done;

screen -dmS jka110 jka

####When jka server is 'closed', crashed in this screen where we opened this script
####--with jkastart script, this does same as loop.
####When process is crashed, it restarts it into same screen 'jka110'





----------------------------------------------------
Thank you.

Read More

Comments on this File

There are no comments yet. Be the first!

dooomer


50 XP


Registered 17th July 2008

1 Files Uploaded

Share This File
Embed File