mirror of
https://github.com/moonlight-stream/GS-IPv6-Forwarder.git
synced 2026-10-25 21:50:05 +00:00
Configure SCM to restart our service if it crashes
This commit is contained in:
1 parent
d2b927c7b1
commit
4ab9599679
1 file changed
+1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user