chore: Disable action on 3rd Windows daemon failure

Indefinitely restarting the daemon is annoying as it makes problems harder to diagnose.
This commit is contained in:
Nick Bolton 2025-03-07 14:35:09 +00:00
parent f2063f9e05
commit 836d9b9a2b

View file

@ -1,19 +1,19 @@
<CPackWiXPatch> <CPackWiXPatch>
<CPackWiXFragment Id="CM_CP_deskflow_daemon.exe"> <CPackWiXFragment Id="CM_CP_deskflow_daemon.exe">
<ServiceInstall <ServiceInstall
Description="Runs the Core process on secure desktops (UAC prompts, login screen, etc)."
DisplayName="Deskflow"
ErrorControl="normal"
Id="ServiceInstall" Id="ServiceInstall"
Name="Deskflow" Name="Deskflow"
DisplayName="Deskflow"
Description="Runs the Core process on secure desktops (UAC prompts, login screen, etc)."
ErrorControl="normal"
Start="auto" Start="auto"
Type="ownProcess"> Type="ownProcess">
<util:ServiceConfig <util:ServiceConfig
FirstFailureActionType="restart"
ResetPeriodInDays="1" ResetPeriodInDays="1"
RestartServiceDelayInSeconds="1" RestartServiceDelayInSeconds="1"
FirstFailureActionType="restart"
SecondFailureActionType="restart" SecondFailureActionType="restart"
ThirdFailureActionType="restart" ThirdFailureActionType="none"
/> />
</ServiceInstall> </ServiceInstall>
<ServiceControl Id="ServiceControl" Name="Deskflow" Remove="uninstall" Start="install" Stop="both"/> <ServiceControl Id="ServiceControl" Name="Deskflow" Remove="uninstall" Start="install" Stop="both"/>