Configure SCM to restart our service if it crashes

This commit is contained in:
Cameron Gutman 2020-08-29 22:42:58 -07:00
parent d2b927c7b1
commit 4ab9599679

View File

@ -48,6 +48,7 @@
ErrorControl="ignore"
Interactive="no">
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall="yes" ServiceSid="unrestricted"/>
<util:ServiceConfig FirstFailureActionType="restart" SecondFailureActionType="restart" ThirdFailureActionType="restart" ResetPeriodInDays="1" RestartServiceDelayInSeconds="10"/>
</ServiceInstall>
<ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="GSv6FwdSvc" Wait="yes" />
</Component>