Add option to delay the first check after boot
Issue #222
resolved
When setting up set daemon 1
(Or maybe even a bit higher), its possible that monit will call start
on a service that is already set to auto-start on boot.
Adding an option to delay the first check for a configurable time will help here to delay monit from restarting the already starting service.
Comments (2)
-
Account Deleted -
repo owner - changed status to resolved
Please see the start delay option as @caprico suggested.
- Log in to comment
An option like this is already available. You can use
set daemon 1 with start delay 60
to make Monit wait 60 seconds before starting the checks.It is not documented in the official documentation or the manpage. It is only documented on http://linux.die.net/man/1/monit. But I am successfully using it here with Monit 5.x.