monit-general
[Top][All Lists]
Advanced

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

Re: Is there a "real restart" command (not stop then start) ?


From: Jérémy Lecour
Subject: Re: Is there a "real restart" command (not stop then start) ?
Date: Thu, 17 Jan 2013 08:41:45 +0100

Thanks for the heads up about this.


2013/1/16 Noel <address@hidden>
Thanks.  I appreciate how monit and m/monit are continually
improved. Looking forward to the updates.



  -- Noel Jones

On 1/16/2013 2:41 PM, Jan-Henrik Haukeland wrote:
> I agree and we have started on implementing restart. It is 50% done. Parser is done, but the actual executing of the restart command is not implemented. We got stuck a little bit there because we have to consider the dependency graph and how to handle restart as a single command. I also want to refactor and simplify how dependency is implemented in Monit, because how dependency works now is that we first run stop and then start on depending services. The use-case for this behaviour is mentioned in the manual, but it is not really how dependencies should work.
>
> At the same time we really need to release M/Monit 3.0 now and we're focusing on that, but once that is done we'll start working on Monit again and finish stuff like this.
>
>
> On Jan 16, 2013, at 4:22 PM, Noel <address@hidden> wrote:
>
>> I'll second the request for an optional "restart program" definition
>> that would be used instead of stop && start when a restart is
>> triggered.  If "restart program" is defined, use it; otherwise use
>> the current stop then start.
>>
>>
>>  -- Noel Jones
>>
>>
>>
>>
>> On 1/16/2013 2:19 AM, Jérémy Lecour wrote:
>>> Hi,
>>>
>>> I've been using Monit for some years and I've always be happy with it. Thanks for making this great piece of software.
>>>
>>> Lately I've been using some services that accept different "actions" than start and stop, for example a USR2 signal to do a rolling restart (just like a "reload").
>>> An example is the Unicorn application server (in Ruby).
>>>
>>> I monitor the different master processes with Monit, but I can only do "start" or "stop" but nothing else.
>>> So if I want to do a rolling restart, I have to log into the server and send the signal.
>>>
>>> It would be great if we could define custom actions.
>>>
>>> Jérémy Lecour
>>> Conception et développement d'applications web
>>> http://jeremy.wordpress.com - http://twitter.com/jlecour
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


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



--
Jérémy Lecour :
Conception et développement d'applications web
06 22 43 88 94 - http://jeremy.wordpress.com - http://twitter.com/jlecour

reply via email to

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