This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit 4036f1eb8d00cb21c172efcaaf740db898150b32 Author: Sebb <s...@apache.org> AuthorDate: Sat Jan 6 17:04:20 2024 +0000 Allow logs to be written to host system --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rakefile b/Rakefile index 16479ae5..b2873f57 100644 --- a/Rakefile +++ b/Rakefile @@ -519,6 +519,12 @@ namespace :docker do ln_s '/srv/.bash_aliases', '/root/.bash_aliases' end + # Allow logs to be written to host system + if Dir.exist? '/srv/apache2_logs' + FileUtils.rm_rf '/var/log/apache2' + ln_s '/srv/apache2_logs', '/var/log/apache2' + end + ldap_setup # set up LDAP entries in container end