From ffb9f0a1801e62c684d74a45ffc153fdcabdae50 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 11 Feb 2021 11:41:17 +0100 Subject: [PATCH] Update run --- scrutiny/rootfs/etc/services.d/script/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrutiny/rootfs/etc/services.d/script/run b/scrutiny/rootfs/etc/services.d/script/run index add569004..997ba6605 100644 --- a/scrutiny/rootfs/etc/services.d/script/run +++ b/scrutiny/rootfs/etc/services.d/script/run @@ -12,4 +12,5 @@ fi timeout ${timeout_argument} "${timeout}" \ bash -c \ "until echo > /dev/tcp/${host}/${port} ; do sleep 0.5; done" \ ->/dev/null 2>&1 && bash -c "scrutiny-collector-metrics run" || echo "port $port is not available" +>/dev/null 2>&1 && bash -c "scrutiny-collector-metrics run" || echo "port $port is not available" && "s6-svscanctl -t /var/run/s6/services" +