View Single Post
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-22-2014 , 08:36   Re: [Linux] HLDSWatch - hl/srcds monitoring and auto restarter script
Reply With Quote #22

11-22 20:47:06 -> Monitoring 4 servers
11-22 21:121 -> xxx.xxx.xxx.xxxxxx is down
11-22 21:13:00 -> * Attempt to restart failed

what happens then?? does the script keeps retry or??
cuz for my srcd start line it check for update as well so it takes a bit longer to start the server
so eventhough server started fine but hldswatcher still think its down (or failed to restart?)

---------------------------edit-------------------------------

after looking at the code it doesn't retry (i think ;-))
i think changing sleep (5) in def watch(self): will make it wait longer to check if restart is fine or not :-)

Last edited by 8guawong; 11-22-2014 at 17:53.
8guawong is offline