This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new c7edc8a732 Create tomcat log directory (#7995)
c7edc8a732 is described below

commit c7edc8a7328b0e1f1bef6a82178927f670b02e26
Author: Eric Holguin <[email protected]>
AuthorDate: Wed Apr 17 11:25:29 2024 -0600

    Create tomcat log directory (#7995)
    
    create tomcat log directory
---
 traffic_router/tomcat-rpm/tomcat.spec | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/traffic_router/tomcat-rpm/tomcat.spec 
b/traffic_router/tomcat-rpm/tomcat.spec
index 6ab96d215b..96bcdf158c 100644
--- a/traffic_router/tomcat-rpm/tomcat.spec
+++ b/traffic_router/tomcat-rpm/tomcat.spec
@@ -40,6 +40,7 @@ Built:@BUILT@
 %build
 
 %install
+mkdir -p "${RPM_BUILD_ROOT}"/var/log/tomcat
 install -d -m 755 ${RPM_BUILD_ROOT}/%{tomcat_home}/
 cp -R * ${RPM_BUILD_ROOT}/%{tomcat_home}/
 
@@ -72,6 +73,7 @@ fi
 %license LICENSE
 %defattr(-,root,root)
 %{tomcat_home}
+%dir /var/log/tomcat
 
 %post
 

Reply via email to