David Finberg writes:
> On Tue, 6 May 2008, Robert Sturrock wrote:
> 
> > The Hylafax startup forks _two_ daemons: faxq and hfaxd.
> >
> > "faxq" dies from time to time - we would like to use SMF to
> > automatically restart this.  However, our (naive) configuration does
> > not cater for this situation as SMF won't stop/start the service as a
> > whole unless _both_ "faxq" and "hfaxd" have exited.
> 
> Why do you have the ignore_error?  That's preventing the behavior you 
> want,
> 
>    startd/ignore_error    The ignore_error  property,  if  set,
>                              specifies  a  comma-separated list of
>                              ignored  events.  Legitimate   string
>                              values in that list are core and sig-
>                              nal. The default is to restart on all
>                              errors.

Well that depends on what Robert means by "faxq is dies".  If faxq just
exits, changing ignore_error won't help.

> 
> -- Dave
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

Reply via email to