Add error logs to docker output

This commit is contained in:
Mark Smith 2022-10-10 05:43:18 +00:00
parent 17e4fd4262
commit 8c870486cd
1 changed files with 6 additions and 2 deletions

View File

@ -11,5 +11,9 @@ mkdir $LJHOME/ext/local/etc/apache2/sites-enabled || true
cp $LJHOME/ext/local/dreamwidth-prod.conf $LJHOME/ext/local/etc/apache2/sites-enabled/dreamwidth.conf
/usr/sbin/apache2ctl start
# Now wait until... we're killed or other things exit
sleep infinity
# Sleep a few seconds to ensure things get up and running
sleep 5
# Now we "wait" by tailing the error log, so we can see it without having
# to attach to the container
tail -F /var/log/apache2/error.log