diff --git a/templates/tomcat-service.j2 b/templates/tomcat-service.j2 index 9b45fea..f7dadf3 100644 --- a/templates/tomcat-service.j2 +++ b/templates/tomcat-service.j2 @@ -44,8 +44,6 @@ PrivateDevices=yes PrivateUsers=yes ProtectKernelTunables=yes ProtectKernelLogs=yes -ReadWritePaths={{ tomcat_work_dir }} -ReadWritePaths={{ tomcat_tmp_dir }} RestrictAddressFamilies=AF_INET6 AF_INET SystemCallArchitectures=native SystemCallFilter=@system-service