mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
monit: Set monit files in temporary locations
Normally monit create its temporary files in $HOME directory. In case the rootfs is mounted as read-only, monit will not operate. This patch set monit configuration to store these files in /var/run Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -21,6 +21,12 @@ set daemon 30 # check services at 30 seconds intervals
|
|||||||
# # default Monit check immediately after Monit start)
|
# # default Monit check immediately after Monit start)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# set monit files in temporary locations
|
||||||
|
set pidfile /var/run/.monit.pid
|
||||||
|
set statefile /var/run/.monit.state
|
||||||
|
set idfile /var/run/.monit.id
|
||||||
|
|
||||||
## Set syslog logging. If you want to log to a standalone log file instead,
|
## Set syslog logging. If you want to log to a standalone log file instead,
|
||||||
## specify the full path to the log file
|
## specify the full path to the log file
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user