aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2016-12-14 12:46:32 +0400
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-12-16 16:38:08 +0100
commit699f2867aba12df29a995542a235c32c1571489f (patch)
tree7ae9d110e9206da7e05f8f3c99b249f5616821d4
parentb479bac4e5abf8e30168a543bf18f9b828fd1630 (diff)
Restart sshd service instead of reload
In the middle of fuel master node bootstrap the reload of sshd service accidentally is losing main process pid, so restart it. Change-Id: Ic977c46232e8592ea7505d7f6f826b366c026a5b JIRA: FUEL-237 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r--build/patch-repos/0010-bootstrap_admin_node.sh.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/patch-repos/0010-bootstrap_admin_node.sh.patch b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
index d3769adfb..9d381ce38 100644
--- a/build/patch-repos/0010-bootstrap_admin_node.sh.patch
+++ b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
@@ -49,7 +49,7 @@ index 3197c91..e035145 100755
-# Enable sshd
-systemctl enable sshd
-systemctl start sshd
-+systemctl reload sshd
++systemctl restart sshd
# Enable iptables
systemctl enable iptables.service