From d21f2ace712e6cc1f639e8e63a6ce6acc46c9927 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Fri, 4 Nov 2016 08:46:38 -0300 Subject: Restart API service always as well. Recently applied this fix for controllers due to the systemd-journald restart issue, it sounds as is this one is also sometimes affected. Containerized already uses this, so we will apply the same restart strategy here. --- .../templates/native-cluster/atomic-openshift-master-api.service.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_master/templates') diff --git a/roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.service.j2 b/roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.service.j2 index 1f50fdce1..0e78d2d23 100644 --- a/roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.service.j2 +++ b/roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.service.j2 @@ -15,6 +15,7 @@ LimitNOFILE=131072 LimitCORE=infinity WorkingDirectory={{ openshift.common.data_dir }} SyslogIdentifier=atomic-openshift-master-api +Restart=always RestartSec=5s [Install] -- cgit v1.2.1