cSpoks Posted November 8, 2009 Report Share Posted November 8, 2009 Bija man kādreiz fails caur kuru palaižot iedarbina serveri un serveris kad nokrashojas tiek automātiski restartēts. Tātad OS - linux Vajadzīga lietiņa kas automātiski restartētu serveri kad serveris nokrašojas. Izmeklēju google, bet tur tik par css. Link to comment Share on other sites More sharing options...
didis97 Posted November 10, 2009 Report Share Posted November 10, 2009 Tātad OS - linux Vajadzīga lietiņa kas automātiski restartētu serveri kad serveris nokrašojas. Izmeklēju google, bet tur tik par css. Uztaisi jaunu text documentu taja mape kur ir hlds.exe piem. C:\serveris Iepeisto šo te: @echo off cls echo Protecting HLDS from crashes... title HLDS CrashGuard :hlds echo (%time%) HLDS started... start /wait /realtime hlds.exe -console -game cstrike +map de_dust2 -tickrate 66 +fps_max 600 +maxplayers 21 +port 27015 +sv_lan 0 echo (%time%) WARNING: HLDS closed or crashed! Restaring... goto hlds Un spied file-->save as-->nosaukums.bat un seivojam! Uztaisam shortcut un liekam uz desktopa..... Sakties pats tur visu, nomaini playeru skaitu mapi utt... Link to comment Share on other sites More sharing options...
cSpoks Posted November 10, 2009 Author Report Share Posted November 10, 2009 Linuxam der? Link to comment Share on other sites More sharing options...
didis97 Posted November 10, 2009 Report Share Posted November 10, 2009 Man liekas ka ja Link to comment Share on other sites More sharing options...
DeimoN Posted November 10, 2009 Report Share Posted November 10, 2009 @ hlds_run: RESTART="yes" TIMEOUT=10 # time to wait after a crash (in seconds) Link to comment Share on other sites More sharing options...
lostz Posted November 11, 2009 Report Share Posted November 11, 2009 Nebūtu arī labs? @echo off cls echo Protecting srcds from crashes... echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter. title srcds.com Watchdog :srcds echo (%time%) srcds started. start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16 echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now