Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: remoting/host/installer/win/chromoting.wxs

Issue 14076010: Restart the Chromoting daemon after one minute when it crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/installer/win/chromoting.wxs
diff --git a/remoting/host/installer/win/chromoting.wxs b/remoting/host/installer/win/chromoting.wxs
index 58a766cbe4eed8b5de6697a46f5a7c822e5d6c15..bd982813fcf56c0cb1cf23caad56fb1e5878aa48 100644
--- a/remoting/host/installer/win/chromoting.wxs
+++ b/remoting/host/installer/win/chromoting.wxs
@@ -217,7 +217,18 @@
Start="demand"
Account="LocalSystem"
ErrorControl="ignore"
- Interactive="no" />
+ Interactive="no">
+ <!-- Configure the service to restart after one minute when it
+ crashes.
+ -->
+ <util:ServiceConfig
+ xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
+ FirstFailureActionType="restart"
+ ResetPeriodInDays="1"
+ RestartServiceDelayInSeconds="60"
+ SecondFailureActionType="restart"
+ ThirdFailureActionType="restart"/>
+ </ServiceInstall>
<ServiceControl Id="start_service"
Stop="both"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698