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
The following commit(s) were added to refs/heads/master by this push:
new 62de0f9 Document and move to separate para
62de0f9 is described below
commit 62de0f9277c65a09826e8e9db460f684fd7bc7fb
Author: Sebb <[email protected]>
AuthorDate: Sun Dec 1 11:55:52 2019 +0000
Document and move to separate para
---
Rakefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Rakefile b/Rakefile
index 51ae4ea..1bdeacc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -338,9 +338,6 @@ namespace :docker do
# This should already exist, but just in case
mkdir_p? '/srv/whimsy/www/members'
- mkdir_p? '/srv/cache'
- mkdir_p? '/srv/mail/secretary'
-
unless File.exist? '/srv/whimsy/www/members/log'
ln_s '/var/log/apache2', '/srv/whimsy/www/members/log'
end
@@ -353,6 +350,11 @@ namespace :docker do
rescue
end
+ # Create other needed directories
+ mkdir_p? '/srv/cache'
+ mkdir_p? '/srv/mail/secretary'
+ # there may be more
+
unless File.read(File.join(ASF::ETCLDAP,'ldap.conf')).include?
'asf-ldap-client.pem'
sh 'ruby -I lib -r whimsy/asf -e "ASF::LDAP.configure"'
end