From 547e22acd2bf25b282de3849b9efd47e64ddd732 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 2 Aug 2024 13:47:20 +0200 Subject: [PATCH] 0 is a valid exit status. --- templates/tomcat-service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tomcat-service.j2 b/templates/tomcat-service.j2 index 2427738..bfabb10 100644 --- a/templates/tomcat-service.j2 +++ b/templates/tomcat-service.j2 @@ -19,7 +19,7 @@ Environment="CATALINA_TMPDIR={{ item.catalina_tmp_directory }}" Type=simple ExecStartPre=+/usr/libexec/tomcat{{ tomcat_version}}/tomcat-update-policy.sh ExecStart=/bin/sh /usr/libexec/tomcat{{ tomcat_version }}/tomcat-instance-{{ item.http_port }}-start.sh -SuccessExitStatus=143 +SuccessExitStatus=143 0 RestartSec=10 Restart=on-failure # Logging