librelist archives

« back to archive

procer feature request

procer feature request

From:
Dave Dodd
Date:
2011-06-28 @ 06:29
I am using mongrel2 in a FreeBSD environment and I am in the process of putting
together appropriate rc.d scripts to control the deployment.

Is there any way to get procer to shut down the handlers under its control ?

If not, would there be any interest in adding support to procer to allow a
signal to request a clean shutdown ?

-- 
David Dodd
Corinthian Engineering Pty Limited
Suite 54, Jones Bay Wharf
26-32 Pirrama Road
Pyrmont NSW 2009 Australia
Telephone +612 9552 5500 Fax +612 9552 5549

Re: [mongrel2] procer feature request

From:
Matt Towers
Date:
2011-06-28 @ 15:47
Have a look at proclaunch. (https://github.com/peterkeen/proclaunch).  
It's loosely based on procer and will probably do everything you need.

For shutting down processes with proclaunch, you can simply remove it's 
profile directory.  And depending on your needs, you can designate a 
custom signal to send to the handler at shutdown time.

✈ Matt



On Jun 27, 2011, at 23:29 , Dave Dodd wrote:

> I am using mongrel2 in a FreeBSD environment and I am in the process of putting
> together appropriate rc.d scripts to control the deployment.
> 
> Is there any way to get procer to shut down the handlers under its control ?
> 
> If not, would there be any interest in adding support to procer to allow a
> signal to request a clean shutdown ?
> 
> -- 
> David Dodd
> Corinthian Engineering Pty Limited
> Suite 54, Jones Bay Wharf
> 26-32 Pirrama Road
> Pyrmont NSW 2009 Australia
> Telephone +612 9552 5500 Fax +612 9552 5549