]> git.ipfire.org Git - ipfire-2.x.git/commit
monit: Some fixes for 'monitrc'
authorMatthias Fischer <matthias.fischer@ipfire.org>
Wed, 5 Jun 2019 09:54:29 +0000 (11:54 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jun 2019 04:04:17 +0000 (05:04 +0100)
commit01320a141d68776abbbbe4e22d0f0c5532997371
treedd303c79fe9cf8554832096bc2b0708dffd14e32
parentc899be2fd02e24f86f801191652d6083eb5524b9
monit: Some fixes for 'monitrc'

Just cosmetics:
Removed all trailing spaces - there were a few...

Activated 'monit' start delay:
I activated this option to avoid running into a race condition while started through
'/etc/init.d/monit start'.

As mentioned in 'monit' manual:
"...if a service is slow to start, Monit can assume that the service is not running
and possibly try to start it [again] and raise an alert, while, in fact the service
is already about to start or already in its startup sequence."

This happened here during testing with (e.g.) Clamav.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/monit/monitrc