Restart sshd service instead of reload 67/25867/2
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 13 Dec 2016 13:42:23 +0000 (17:42 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 14 Dec 2016 08:31:42 +0000 (08:31 +0000)
In the middle of fuel master node bootstrap the reload of sshd service
accidentally is losing main process pid, so restart it.

JIRA: FUEL-237
Change-Id: I89023177e71cb6da4b9d6beff5083d345cf66db8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
build/f_repos/patch/fuel-main/0001-Patches-for-OPNFV.patch

index 820e387..d01ce8b 100644 (file)
@@ -41,7 +41,7 @@ index dbcac5f..1826390 100755
  # Enable sshd
 -systemctl enable sshd
 -systemctl start sshd
-+systemctl reload sshd
++systemctl restart sshd
  
  # Enable iptables
  systemctl enable iptables.service