mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Monit for redis.
This commit is contained in:
parent
088329fbed
commit
685c476b3a
1 changed files with 11 additions and 0 deletions
11
config/monit_redis.conf
Normal file
11
config/monit_redis.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
set daemon 120
|
||||
|
||||
set logfile /var/log/monit.log
|
||||
|
||||
set eventqueue
|
||||
basedir /var/monit # set the base directory where events will be stored
|
||||
slots 100 # optionally limit the queue size
|
||||
|
||||
check process redis-server matching "redis-server"
|
||||
stop "/etc/init.d/redis stop"
|
||||
start "/etc/init.d/redis start"
|
Loading…
Add table
Reference in a new issue