summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-11-04 08:46:38 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-11-04 08:46:38 -0300
commitd21f2ace712e6cc1f639e8e63a6ce6acc46c9927 (patch)
tree40ba9fc241b095c166f9b515f6d82fb818d4e3d2 /roles
parentc97858a6bc61251c02d2ca27172ebe87727b776a (diff)
downloadopenshift-d21f2ace712e6cc1f639e8e63a6ce6acc46c9927.tar.gz
openshift-d21f2ace712e6cc1f639e8e63a6ce6acc46c9927.tar.bz2
openshift-d21f2ace712e6cc1f639e8e63a6ce6acc46c9927.tar.xz
openshift-d21f2ace712e6cc1f639e8e63a6ce6acc46c9927.zip
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.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.service.j21
1 files changed, 1 insertions, 0 deletions
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]