mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 15:26:54 +00:00
Configure SCM to restart our service if it crashes
This commit is contained in:
parent
8590a0813b
commit
36ea86faaa
@ -1 +1 @@
|
||||
Subproject commit d2b927c7b1bb04cdfeb5c7715ee784d01cad7b78
|
||||
Subproject commit 4ab9599679d4948a0e6e14d445ed8291c9c57483
|
@ -70,6 +70,7 @@
|
||||
ErrorControl="ignore"
|
||||
Interactive="no">
|
||||
<ServiceConfig DelayedAutoStart="no" 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="MISS" Wait="yes" />
|
||||
</Component>
|
||||
|
Loading…
x
Reference in New Issue
Block a user