Skip to content

Commit

Permalink
Fixes #19271 - reload docker instead of restart
Browse files Browse the repository at this point in the history
  • Loading branch information
ahumbe committed May 2, 2017
1 parent 8773c3f commit 590cb57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/rhsm-katello-reconfigure.erb
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ if [ -d $CA_TRUST_ANCHORS ]; then
cp $KATELLO_CERT_DIR/$KATELLO_SERVER_CA_CERT $CA_TRUST_ANCHORS
update-ca-trust

# restart docker if it is installed and running
# reload docker if it is installed and running
if [ -f /usr/lib/systemd/system/docker.service ]; then
systemctl status docker >/dev/null && \
systemctl restart docker >/dev/null 2&>1
systemctl reload docker >/dev/null 2&>1
elif [ -f /etc/init.d/docker ]; then
service docker status >/dev/null && \
service docker restart >/dev/null 2&>1
service docker rereload >/dev/null 2&>1
fi
fi

Expand Down

0 comments on commit 590cb57

Please sign in to comment.