2019-09-10 23:23:34 +00:00
|
|
|
check process redis with pidfile /run/redis/redis.pid
|
2020-05-11 15:09:13 +00:00
|
|
|
start program = "/usr/bin/redis-server /etc/redis.conf" as uid "redis" and gid "redis"
|
2019-09-10 23:23:34 +00:00
|
|
|
stop program = "/usr/bin/redis-cli shutdown"
|
|
|
|
if failed port 6379 protocol redis 3 times within 5 cycles then restart
|