Add error logs to docker output
This commit is contained in:
parent
17e4fd4262
commit
8c870486cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue