summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/demo/images/libeufin/startup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/demo/images/libeufin/startup.sh b/docker/demo/images/libeufin/startup.sh
index e2e1d39..8b53f14 100644
--- a/docker/demo/images/libeufin/startup.sh
+++ b/docker/demo/images/libeufin/startup.sh
@@ -188,4 +188,7 @@ sed -i "s;__BANK_BACKEND_URL__;${BANK_BACKEND_URL};" /usr/local/share/taler/demo
nginx -c /nginx.conf 2>&1 | rotatelogs -e /logs/bank-ui-%Y-%m-%d.log 86400 &
touch $INIT_MARKER
-wait
+# -n makes 'wait' return as soon as one of the background
+# processes exits. That triggers then the 'restart: always'
+# policy set in the compose file.
+wait -n