Skip to content

Commit 4ad0443

Browse files
committed
Update monit + set interval to 10 sec.
1 parent 05fe247 commit 4ad0443

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/monitrc
2+
+++ b/monitrc
3+
@@ -16,7 +16,7 @@
4+
##
5+
## Start Monit in the background (run as a daemon):
6+
#
7+
-set daemon 30 # check services at 30 seconds intervals
8+
+set daemon 10 # check services at 10 seconds intervals
9+
# with start delay 240 # optional: delay the first check by 4-minutes (by
10+
# # default Monit check immediately after Monit start)
11+
#

layers/loraserver/meta-tools/recipes-monitoring/monit/monit_5.25.2.bb renamed to layers/loraserver/meta-tools/recipes-monitoring/monit/monit_5.26.0.bb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ea116a7defaf0e93b3bb73b2a34a3f51"
1212
DEPENDS = "openssl zlib virtual/crypt"
1313

1414
SRC_URI = "\
15-
http://mmonit.com/monit/dist/${BP}.tar.gz \
16-
file://enable-etc-monit.d-include.patch \
17-
file://monit.init \
18-
"
19-
20-
SRC_URI[md5sum] = "890df599d6c1e9cfbbdd3edbacb7db81"
21-
SRC_URI[sha256sum] = "aa0ce6361d1155e43e30a86dcff00b2003d434f221c360981ced830275abc64a"
15+
http://mmonit.com/monit/dist/${BP}.tar.gz \
16+
file://enable-etc-monit.d-include.patch \
17+
file://set-10sec-interval.patch \
18+
file://monit.init \
19+
"
20+
21+
SRC_URI[md5sum] = "9f7dc65e902c103e4c5891354994c3df"
22+
SRC_URI[sha256sum] = "87fc4568a3af9a2be89040efb169e3a2e47b262f99e78d5ddde99dd89f02f3c2"
2223

2324
INITSCRIPT_NAME = "monit"
2425
INITSCRIPT_PARAMS = "defaults 99"

0 commit comments

Comments
 (0)