From f7ba9a9e0ce0a9f44a39c8c5afdd356944b2b2e2 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 28 Sep 2022 13:01:00 +0200
Subject: [PATCH] L2SS-989: Allow propagation of signals through bash

---
 bin/start-ds.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/start-ds.sh b/bin/start-ds.sh
index 86ed80dd8..fcbbb2a5e 100755
--- a/bin/start-ds.sh
+++ b/bin/start-ds.sh
@@ -46,4 +46,6 @@ fi
 # docker-compose files.
 cd "$CWD" || exit 1
 
-/usr/local/bin/wait-for-it.sh "$TANGO_HOST" --timeout=30 --strict -- "$@"
+# Replace this script's process with the actual command, allowing any signals
+# send to the bash PID to be sent to the command directly.
+exec /usr/local/bin/wait-for-it.sh "$TANGO_HOST" --timeout=30 --strict -- "$@"
-- 
GitLab