Raised This Month: $51 Target: $400
 12% 

Server restart


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
addicted2sex
Senior Member
Join Date: May 2009
Location: localhost
Old 11-23-2009 , 16:18   Server restart
Reply With Quote #1

I'm running hlds server on a hosting machine with ssh/sftp/ftp access. The problem is that when the server crash it doesnt restart automatically. I'm running the server with the following parameters:

Code:
screen -A -m -d -S cs1 ./hlds_run -binary ./hlds_i686 -timeout 60 -autoupdate -game cstrike +map de_dust2 +ip *.*.*.* -port 27015 +maxplayers 22 +exec listip.cfg -zone 8192 -pingboost 2
__________________
Let 7he gr0ovE r3Lease y0ur m!nd
addicted2sex is offline
8088
Veteran Member
Join Date: Jan 2008
Old 11-23-2009 , 16:22   Re: Server restart
Reply With Quote #2

Searching this subforum for 'restart' will give you loads of answers.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-23-2009 , 17:42   Re: Server restart
Reply With Quote #3

I believe it's a linux script that is always running and checking the status of the server or something like that.
__________________
fysiks is offline
8088
Veteran Member
Join Date: Jan 2008
Old 11-23-2009 , 19:57   Re: Server restart
Reply With Quote #4

What script do you mean?
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-23-2009 , 22:32   Re: Server restart
Reply With Quote #5

Quote:
Originally Posted by 8088 View Post
What script do you mean?
One that starts the server if it's down. Obviously, that is the only way it will get restarted (automatically).
__________________
fysiks is offline
8088
Veteran Member
Join Date: Jan 2008
Old 11-24-2009 , 12:33   Re: Server restart
Reply With Quote #6

I thought you were referring to a particular one.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-24-2009 , 20:51   Re: Server restart
Reply With Quote #7

Quote:
Originally Posted by 8088 View Post
I thought you were referring to a particular one.
Nope. I don't know of any particular script (that I can remember) but I know that is how it's done.
__________________
fysiks is offline
8088
Veteran Member
Join Date: Jan 2008
Old 11-24-2009 , 21:55   Re: Server restart
Reply With Quote #8

Now that I think of it, vampire2k posted one here.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 11-25-2009 , 00:10   Re: Server restart
Reply With Quote #9

Cron!
P4rD0nM3 is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 11-25-2009 , 01:45   Re: Server restart
Reply With Quote #10

there is still a bug in the hlds_run script.

open the hlds_run file

search for:

Debug=0

and change it to:

Debug="0"

save the file and restart ur server with your command.

Last edited by platzpatrone; 11-25-2009 at 03:19.
platzpatrone is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode