summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Clients/ogagent/src/OGAServiceHelper.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Sources/Clients/ogagent/src/OGAServiceHelper.py')
-rw-r--r--admin/Sources/Clients/ogagent/src/OGAServiceHelper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/Sources/Clients/ogagent/src/OGAServiceHelper.py b/admin/Sources/Clients/ogagent/src/OGAServiceHelper.py
index 79a6c81d..ca75a090 100644
--- a/admin/Sources/Clients/ogagent/src/OGAServiceHelper.py
+++ b/admin/Sources/Clients/ogagent/src/OGAServiceHelper.py
@@ -45,10 +45,10 @@ try:
'ResetPeriod': 864000, # Time in ms after which to reset the failure count to zero.
'RebootMsg': u'', # Not using reboot option
'Command': u'', # Not using run-command option
- 'Actions': [
+ 'Actions': [
(win32service.SC_ACTION_RESTART, 5000), # action, delay in ms
(win32service.SC_ACTION_RESTART, 5000)
- ]
+ ]
}
win32service.ChangeServiceConfig2(hs, win32service.SERVICE_CONFIG_FAILURE_ACTIONS, service_failure_actions)
finally: