Prechádzať zdrojové kódy

set KillMode to process in node service file

Jan Chaloupka 7 rokov pred
rodič
commit
bf723d2dcd

+ 1 - 0
roles/openshift_node/templates/node.service.j2

@@ -25,6 +25,7 @@ SyslogIdentifier={{ openshift.common.service_type }}-node
 Restart=always
 RestartSec=5s
 OOMScoreAdjust=-999
+KillMode=process
 
 [Install]
 WantedBy=multi-user.target

+ 1 - 0
roles/openshift_node_upgrade/templates/node.service.j2

@@ -25,6 +25,7 @@ SyslogIdentifier={{ openshift.common.service_type }}-node
 Restart=always
 RestartSec=5s
 OOMScoreAdjust=-999
+KillMode=process
 
 [Install]
 WantedBy=multi-user.target