mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
13 lines
443 B
Text
13 lines
443 B
Text
![]() |
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
|
||
|
|
||
|
# If no feeds have been queued in the last minute, something is wrong
|
||
|
check file newsblur.log with path /srv/newsblur/logs/newsblur.log
|
||
|
if timestamp > 2 minutes then exec "/usr/bin/supervisorctl reload"
|
||
|
as uid root and gid root
|