summaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/chef-repo/cookbooks
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/sdc-backend/chef-repo/cookbooks')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb
index 1de29548f3..14cfe04213 100644
--- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb
+++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb
@@ -22,3 +22,12 @@ directory "BE_create_catalog-be" do
mode '0755'
action :create
end
+
+directory "BE_create_log_dir" do
+ path "#{ENV['JETTY_BASE']}/logs/SDC/SDC-BE"
+ owner 'jetty'
+ group 'jetty'
+ mode '0755'
+ action :create
+ recursive true
+end \ No newline at end of file