mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 20:12:39 +03:00
Added restart service on failure #5277
This commit is contained in:
parent
17c35f53f4
commit
fa2a6a2169
@ -88,7 +88,14 @@
|
||||
<ServiceInstall
|
||||
Id="ServiceInstall" Name="Synergy" DisplayName="$(var.Name)"
|
||||
Description="Controls the $(var.Name) foreground processes."
|
||||
Type="ownProcess" Start="auto" ErrorControl="normal" />
|
||||
Type="ownProcess" Start="auto" ErrorControl="normal">
|
||||
<util:ServiceConfig
|
||||
FirstFailureActionType='restart'
|
||||
SecondFailureActionType='restart'
|
||||
ThirdFailureActionType='restart'
|
||||
RestartServiceDelayInSeconds='1'
|
||||
ResetPeriodInDays='1'/>
|
||||
</ServiceInstall>
|
||||
|
||||
<ServiceControl
|
||||
Id="ServiceControl" Name="Synergy"
|
||||
|
Loading…
Reference in New Issue
Block a user