added service checks

This commit is contained in:
2023-08-26 09:42:21 -05:00
parent 28fc324f1f
commit 455f0814b6
2 changed files with 9 additions and 1 deletions

View File

@@ -18,5 +18,9 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]]
usermod -aG docker akanealw
systemctl enable docker.service
systemctl enable containerd.service
systemctl start docker.service
systemctl start containerd.service
systemctl status docker.service
systemctl status containerd.service
fi
fi

View File

@@ -19,5 +19,9 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] ; then
usermod -aG docker akanealw
systemctl enable docker.service
systemctl enable containerd.service
systemctl start docker.service
systemctl start containerd.service
systemctl status docker.service
systemctl status containerd.service
fi
fi
fi