From 74276ff5114d1519e73ca3f092a4cd517ccb0c02 Mon Sep 17 00:00:00 2001 From: Robin Whittleton Date: Tue, 9 Feb 2021 23:02:10 +0100 Subject: [PATCH] Better document why we run tail in the Docker script --- scripts/docker/start-server.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/docker/start-server.sh b/scripts/docker/start-server.sh index 5edc8ec5..39855336 100755 --- a/scripts/docker/start-server.sh +++ b/scripts/docker/start-server.sh @@ -10,4 +10,6 @@ ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/* a2ensite standardebooks.test /etc/init.d/apache2 start service php7.4-fpm restart -tail -f /var/log/apache2/error.log + +# Keep the server available by holding open the container +tail -f /dev/null