1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/guacamole_ynh.git synced 2024-09-03 19:16:03 +02:00

Fix tomcat disabling

This commit is contained in:
Salamandar 2024-02-24 17:02:10 +01:00
parent 38ed2df7ea
commit a1f8d0705d

View file

@ -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