configuration-templates
/monit/debian/templates/redis |
@@ -0,0 +1,10 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process redis with pidfile /var/run/redis/redis-server.pid |
start program = "/etc/init.d/redis-server start" |
stop program = "/etc/init.d/redis-server stop" |
if failed port 6379 then restart |
# if 5 restarts within 5 cycles then timeout |
|