You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automated l4d2server Monitor does not check for Stop state #95
Daniel,
Thank you for creating these great scripts. I use a modified version of your L4D2 server script to manage 5+ servers, but have found one small bug:
If a server is intentionally stopped with "l4d2server stop" the monitor will automatically restart the server when using a Crontab automated monitor service:
Notice I am using a 2 minute monitor cycle. It seems fn_monitorserver should have a check for an intentional Stop state as it does for an Update state. In other words, if I intentionally stop the sever the monitor should not restart it.
This is a great idea. I think some sort of lock file when started. The monitor could check if this is present. If not the monitor will not check the server is running.
Activity
zietbukuel commentedon Jun 20, 2014
I agree. This also happens with the KF script.
dgibbs64 commentedon Jun 20, 2014
This is a great idea. I think some sort of lock file when started. The monitor could check if this is present. If not the monitor will not check the server is running.
patriotgames commentedon Jun 20, 2014
That would be perfect! If you provide the code or a modified script, I would be glad to test it on my server and report back to you.
dgibbs64 commentedon Jun 20, 2014
Awesome give me a couple of weeks and I will release an update :)
dgibbs64 commentedon Jun 20, 2014
I have just finished the concept and it works. Now I will just need to tidy up the code and add error handling etc.
zietbukuel commentedon Jun 20, 2014
Very nice Daniel, thanks 👍
dgibbs64 commentedon Jun 24, 2014
Completed. This feature is now available on the current release. Let me know if you have any bugs etc.
lock commentedon Jul 20, 2018
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.