commit 4d2aa80662e3e68751389705f28c0178e1bdb45e parent 44ae63cefedd93ced9af2f093e60c37cc68165c7 Author: MS <ms@taler.net> Date: Wed, 30 Nov 2022 11:05:43 +0100 trigger restart policy Diffstat:
| M | docker/demo/images/libeufin/startup.sh | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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