summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Clients/ogagent/src/OGAServiceHelper.py
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-03-05 13:56:18 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-03-05 13:56:18 +0100
commit2b223568dae2a2d98bef4be73e48e49a29f1d281 (patch)
tree3ec3cfb88e602af3ac2313e9f7a4d9cc7ca775c7 /admin/Sources/Clients/ogagent/src/OGAServiceHelper.py
parent6f3184fc43ffb0bb66b8faa673b62f14b02ab859 (diff)
#940: Code cleaning and cosmetic changes.
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: