소스 검색

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.
Devan Goodwin 8 년 전
부모
커밋
d21f2ace71
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.service.j2

+ 1 - 0
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]