On Wed, 2008-08-20 at 12:36 -0400, Justin Domoleczny wrote:
> I can't find an 
> easy way to set this in the manifest. Using the "contract" setting 
> monitors everything and "child" would restart when a
> Does anyone know of a way to make this work?

>From the apache manifest

<property_group name='startd' type='framework'>
        <!-- sub-process core dumps shouldn't restart
                                session -->
       <propval name='ignore_error' type='astring'
                                value='core,signal' />
                </property_group>



This will catch the common error scenarios.   If you want to ignore
a regular exit from the child, run it in a separate contract that
svc.startd isn't monitoring.   If you need something more wicked
then make the main daemon a delegated restarter and you can
express individual service states for all of the children.



Bob



Reply via email to