Linux hlds_run not automaticly restarting on crash
I recently installed a fresh HL1 dedicated server for a Natural-Selection public server.
Everything works smoothly except for one annoying problem: The server does not restart itself if it happens to crash :( Code:
Auto-restarting the server on crash For testing purposes, i kill the hlds_i686 thread from another terminal; This is the output on the server console: Code:
./hlds_run: line 321: 12630 Killed $HL_CMD My hlds_run parameters (the -binary parameter does not affect it, tested it.): Code:
./hlds_run -binary ./hlds_i686 -game ns -ip 78.143.28.20 +ip 78.143.28.20 -maxplayers 32 -pingboost 1 +map co_faceoff -timeout 6 I am running Debian 5.0.1 (Lenny) Any help will be greatly appreciated :) |
Re: Linux hlds_run not automaticly restarting on crash
what is this ?
... -ip 78.143.28.20 +ip 78.143.28.20 ... |
Re: Linux hlds_run not automaticly restarting on crash
The system has multiple interfaces and i need to specify the listening ip :wink:
|
Re: Linux hlds_run not automaticly restarting on crash
You don't need to define both. Figure out which one is used and just define that one
|
Re: Linux hlds_run not automaticly restarting on crash
Sadly that still doesn't solve my problem, with or without -/+ip..
Seems noone else has this kind of problem, im thinking about bypassing hlds_run completely and write my own bash script when i find some time.:) |
Re: Linux hlds_run not automaticly restarting on crash
Add -autoupdate
|
Re: Linux hlds_run not automaticly restarting on crash
-autoupdate didn't work either but i got around to write that script, if anyones interested:
Code:
#! /bin/bash |
Re: Linux hlds_run not automaticly restarting on crash
Quote:
I would say that what you describe is working correctly. P.S. I didn't think any HL1 game was still on Protocol 47. |
Re: Linux hlds_run not automaticly restarting on crash
Quote:
Quote:
|
Re: Linux hlds_run not automaticly restarting on crash
Quote:
|
All times are GMT -4. The time now is 08:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.