From 7fd5059bb2a99c8175e2a98aab2555972cc6ea5e Mon Sep 17 00:00:00 2001 From: Jason Russell Date: Tue, 3 Jan 2023 10:08:32 -0500 Subject: [PATCH] Update ddn.sh remove systemctl restart docker from ddn.sh --- bin/ddn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ddn.sh b/bin/ddn.sh index f59463a..86311a7 100644 --- a/bin/ddn.sh +++ b/bin/ddn.sh @@ -1,11 +1,11 @@ #!/bin/bash ## ~/dockery/bin/ddn.sh echo "Starting " -echo "re-installing..." ; sudo apt-get update -y && sudo apt-get upgrade -y ; sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo bash get-docker.sh && sudo apt-get upgrade -y && sudo apt-get update -y ; sudo usermod -aG docker $USER ; sudo systemctl enable docker.service && sudo systemctl enable containerd.service && sudo systemctl restart docker && echo "docker installed!" +echo "re-installing..." ; sudo apt-get update -y && sudo apt-get upgrade -y ; sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo bash get-docker.sh && sudo apt-get upgrade -y && sudo apt-get update -y ; sudo usermod -aG docker $USER ; sudo systemctl enable docker.service && sudo systemctl enable containerd.service && echo "docker installed!" retVal=$? if [ $retVal -ne 0 ]; then echo "Error" else echo "Completed" fi -echo "returned "$retVal \ No newline at end of file +echo "returned "$retVal