Haha, funny code. Never tested it but I think this works. BTW. why don't you use your own startscript? Run in your script dirrectly the srcds_linux and set LD_LIBRARY_PATH and this in a loop. Valve has the problem, that their script has to run with different shell interpreters, on different distributions/os and different architectures. They've also a bug in the notification if you're running your server with root privileges. I think they're afraid to change anything in this bloated shell script. Maybe someone writes nice pythonic code for windows/linux in one file. In this case the windows admins has only to install a python interpreter and will have the features as the linux version. But I think I've seen already some projects on github which are doing this.
2014-03-09 1:10 GMT+01:00 Valentin G. <nextra...@gmail.com>: > This bug is still in srcds_run: > https://github.com/ValveSoftware/halflife/issues/210 > hlds_run should not be affected anymore > > I use a small script that hotfixes srcds_run and then runs it, so > validate doesn't remove the patch: > > eval "$(sed 's/test -z "$AUTO_UPDATE";/test -z "$RESTART";/' srcds_run)" > > On Sun, Mar 9, 2014 at 12:49 AM, ics <i...@ics-base.net> wrote: > > My servers tend to restart themselves. Only crash so far that i've seen > that > > doesn't restart itself is L4D2 & CSGO when they crash on some memory > error > > for being on too long in a row. > > > > -ics > > > > Ook kirjoitti: > > > >> I know this topic gets brought up from time to time, but I haven't yet > >> found a good solution to the problem of auto-restarting an hlds server > when > >> it crashes. I am once again trying to move my OP4 server from Winbloze > to > >> linux. The last time I did this I gave up because I couldn't get it to > run > >> reliably, and the restart script that comes with the linux version did > not > >> work. It would crash and just sit there, some sort of debugger problem > that > >> I was not able to reliably resolve. It also had a nasty tendency to > segfault > >> on startup about 50% of the time. > >> > >> So - who is running hlds servers on linux, and how do you handle > >> restarting after a crash? > >> > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux