monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit restart service after reload


From: Martin Pala
Subject: Re: monit restart service after reload
Date: Thu, 12 Nov 2015 16:28:08 +0100

Please can you test with monit 5.15? The program execution in monit 5.15 was modified to return error in case of problem.

Regards,
Martin


On 11 Nov 2015, at 01:48, Terry Duncan <address@hidden> wrote:

This is Monit version 5.14


On Tue, Nov 10, 2015 at 4:05 PM, Martin Pala <address@hidden> wrote:
Which monit version it is? (monit -V)

Regards,
Martin


> On 11 Nov 2015, at 01:04, Terry Duncan <address@hidden> wrote:
>
> I have a script which does a monit reload and then a monit restart service. The monit restart returns 0 for success but does not actually restart the service unless I put a sleep 1 after the reload. This seems like a bug. If it is not going to work, it should return non zero. I am also not sure how deterministic the sleep work around is. Is 1 second a sufficient delay to ensure it is going to accept the command?
>
> Thanks,
> Terry
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]