configuration-templates
/monit/debian/templates/flood |
---|
@@ -0,0 +1,8 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2023 - License: GNU GPLv3 ## |
########################################################################### |
check process flood matching "npm exec flood" |
start program = "/usr/bin/systemctl start flood" |
stop program = "/usr/bin/systemctl stop flood" |
if failed port 3000 protocol http request "/" then restart |