mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-23 22:53:03 +02:00
[fix] Show message in terminal when restarting Docker to avoid confusion
This commit is contained in:
2 files changed
+3
-4
No files matched your search
+1
-1
@@ -1938,7 +1938,7 @@ reset_proxy() {
|
||||
|
||||
[[ -f /etc/systemd/system/docker.service.d/http-proxy.conf ]] && rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
|
||||
systemctl daemon-reload
|
||||
command -v docker &> /dev/null && systemctl restart docker
|
||||
command -v docker &> /dev/null && echo "Restarting Docker..." && systemctl restart docker
|
||||
|
||||
[[ -f /root/.docker/config.json ]] && rm -f /root/.docker/config.json
|
||||
|
||||
|
||||
Reference in new issue
Block a user