Restart sshd service instead of reload 15/26115/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 14 Dec 2016 08:46:32 +0000 (12:46 +0400)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 16 Dec 2016 15:38:08 +0000 (16:38 +0100)
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>
build/patch-repos/0010-bootstrap_admin_node.sh.patch

index d3769ad..9d381ce 100644 (file)
@@ -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