summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-07-13 16:50:08 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-07-13 16:50:08 +0200
commitbf723d2dcd84e13ae3856538df04c767433df984 (patch)
treecacf6a5f316347eff550a9585a8f455d0eb4a0cb /roles
parent50e12bfd81d25be41748dd11676ce369352587c7 (diff)
downloadopenshift-bf723d2dcd84e13ae3856538df04c767433df984.tar.gz
openshift-bf723d2dcd84e13ae3856538df04c767433df984.tar.bz2
openshift-bf723d2dcd84e13ae3856538df04c767433df984.tar.xz
openshift-bf723d2dcd84e13ae3856538df04c767433df984.zip
set KillMode to process in node service file
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node/templates/node.service.j21
-rw-r--r--roles/openshift_node_upgrade/templates/node.service.j21
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/node.service.j2 b/roles/openshift_node/templates/node.service.j2
index d4f0b7762..1dbe58439 100644
--- a/roles/openshift_node/templates/node.service.j2
+++ b/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
diff --git a/roles/openshift_node_upgrade/templates/node.service.j2 b/roles/openshift_node_upgrade/templates/node.service.j2
index d4f0b7762..1dbe58439 100644
--- a/roles/openshift_node_upgrade/templates/node.service.j2
+++ b/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