( search forums )
Starting Soldat on Linux Boot
Soldat Forums - Soldat Talk - Server Help
n00bface
December 11, 2003, 2:07 pm
Can anyone here tell me how to automatically start soldat server when linux boots?

n00bface
December 11, 2003, 4:52 pm
okay, I "Krakt" some of my "1338" linux "skillz" and solved this one on my own...

If anyone else that hasn't done this and wants to, do the following (im doing this in terminal via putty):

vi /etc/rc.d/rc.local

vi is, of course, a command line text editor so you can use anything else...

and inside that, i just added a line - /usr/server/soldatserver password and saved then rebooted.

now the server is up! Yay!

vekotin
December 15, 2003, 11:06 am
I'd like to add that it's distribution dependant. This one looks like Red Hat or something more or less based on it.

What we've done sometimes earlier is have a cron script check on the server, if it's not running, then start it. This has the added bonus of being able to restart the server if it's died.

We never did this with Soldat but the basic idea should work, and it will also handle starting it up shortly after bootup.

n00bface
December 15, 2003, 3:04 pm
Yeah, sorry, it's RH9. I never thought of starting it with cron... hmmm... I'm not as familiar with Linux as I am with Windows [:(]