[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a "real restart" command (not stop then start) ?
From: |
Noel |
Subject: |
Re: Is there a "real restart" command (not stop then start) ? |
Date: |
Wed, 16 Jan 2013 14:47:42 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
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