From 2b2ec35c61994f83253452f620b3352bd02531e0 Mon Sep 17 00:00:00 2001 From: Nik Ambrosch Date: Wed, 9 Mar 2022 15:50:20 -0500 Subject: [PATCH] ulimit command does not apply to systemd services on all platforms --- templates/jira.service.epp | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/jira.service.epp b/templates/jira.service.epp index ec8f0ec9..ad67a146 100644 --- a/templates/jira.service.epp +++ b/templates/jira.service.epp @@ -9,6 +9,7 @@ Environment="JAVA_HOME=<%= $jira::javahome %>" User=<%= $jira::user %> ExecStart=<%= $jira::webappdir %>/bin/start-jira.sh ExecStop=<%= $jira::webappdir %>/bin/stop-jira.sh +LimitNOFILE=<%= $jira::jvm_nofiles_limit %> [Install] WantedBy=multi-user.target