From f06317cd4a2de3f3c280fe787a92838760c02ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 9 Apr 2020 15:47:32 +0200 Subject: Tweak prometheus.sh --- prometheus.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'prometheus.sh') diff --git a/prometheus.sh b/prometheus.sh index 31f3d91..b5b0d94 100755 --- a/prometheus.sh +++ b/prometheus.sh @@ -38,10 +38,7 @@ lxc_do systemctl enable prometheus lxc_restart -until lxc_do curl http://admin:admin@localhost:3000/api/org -do - sleep 1 -done +lxc_do /usr/bin/env sh -c "until curl http://admin:admin@localhost:3000/api/org ; do sleep 1 ; done" echo <$( cd "$( dirname "$0" )" && pwd )/priv/grafana_prometheus_data_source.json \ -- cgit v1.2.3