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: Noel
Subject: Re: Is there a "real restart" command (not stop then start) ?
Date: Wed, 16 Jan 2013 09:22:17 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

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




reply via email to

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