From e63dfd6385f60eed21479a25820da9cea28c2471 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 15 Dec 2019 01:15:57 +0100 Subject: [PATCH] use tail -f instead of cat for waiting --- entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0e3a9a1..900f1db 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -85,4 +85,7 @@ if [ -x /entrypoint-post-https.sh ]; then fi # == sleep infinity, however infinity is not supported in this image! -cat +# cat -- works if stdin does not close + +# wait forever by tailing /dev/null - also nice +tail -f /dev/null