From a1f8d0705d8f690f8d0c344bedb025f7aca72077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 24 Feb 2024 17:02:10 +0100 Subject: [PATCH] Fix tomcat disabling --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4b12574..1746ed9 100755 --- a/scripts/install +++ b/scripts/install @@ -29,10 +29,10 @@ if [ "$(systemctl cat tomcat9 --quiet)" ]; then fi fi -if [ ! $tomcat_enabled ]; then +if [ $tomcat_enabled ]; then systemctl disable tomcat9 --quiet fi -if [ ! $tomcat_active ]; then +if [ $tomcat_active ]; then systemctl stop tomcat9 --quiet fi