From ef1f986e7207fe1fff628abee79c3e36d2b2a108 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 18 May 2021 17:16:05 +0300 Subject: [PATCH] Ping also subdomain --- make/utilities.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/utilities.mk b/make/utilities.mk index 36378b0..ab3aa36 100644 --- a/make/utilities.mk +++ b/make/utilities.mk @@ -29,8 +29,10 @@ check-scripts: PHONY += ping ping: ## Ping docker.so domain - $(call step,Setup domain $(DOCKER_DOMAIN) resolves to:) + $(call step,Domain $(DOCKER_DOMAIN) resolves to:) @ping -q -c 1 -t 1 $(DOCKER_DOMAIN) | grep PING | sed -e "s/).*//" | sed -e "s/.*(//" + $(call step,Domain foobar.$(DOCKER_DOMAIN) resolves to:) + @ping -q -c 1 -t 1 foobar.$(DOCKER_DOMAIN) | grep PING | sed -e "s/).*//" | sed -e "s/.*(//" PHONY += url url: SERVICE := portainer