mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-14 15:34:06 +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:
parent
bfb6cf7baa
commit
f7c6adcdef
@ -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
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user