Skip to content

Commit 971ec51

Browse files
Updated to tail log files.
1 parent 3712bf1 commit 971ec51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moodle/centos7/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [ $1 == "moodle" ]; then
3333
s/localhost/${DB_HOST}/
3434
s/\/home\/example\/moodledata/\/var\/moodledata/" /var/www/html/config-dist.php > /var/www/html/config.php;
3535

36-
exec /usr/sbin/httpd -DFOREGROUND;
36+
/usr/sbin/httpd && tail -f /var/log/httpd/*;
3737
else
3838
exec $@
3939
fi

0 commit comments

Comments
 (0)