mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-10-22 08:17:59 +00:00
Configure SCM to restart our service if it crashes
This commit is contained in:
1 parent
8590a0813b
commit
36ea86faaa
2 files changed
+2
-1
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user