Please help me understand service dependencies and service Groups.  
Scenarios: 
Service B (WcfServiceHost) depends on Service A (LogService).  Service A fails 
which stops Service B.  The recovery restarts service A, will it restart 
Service B?  Also, if service A fails which stops service B, will the recovery 
settings apply to service B so will it restart automatically?  Or does  B 
regard the stop a normal event because of the dependency relationship? 
  
If I put my services into a group, does that better meet my needs to keeping 
everything running? 
  
Code: 


        <ServiceInstall 
          Id="ServiceInstaller" 
          Type="ownProcess" 
          Vital="yes" 
          Name="WcfServiceHost" 
          DisplayName="WcfService Host" 
          Description="Expose interactions with the WcfService." 
          Start="auto" 
          Account="LocalSystem" 
          ErrorControl="normal"> 

          <ServiceDependency Id="LogService"/> 
        
          <util:ServiceConfig 
            ServiceName="WcfServiceHost" 
            FirstFailureActionType="restart" 
            SecondFailureActionType="restart" 
            ThirdFailureActionType="restart" 
            RestartServiceDelayInSeconds="5" 
            ResetPeriodInDays="1" /> 
        </ServiceInstall> 
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to