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:
parent
38ed2df7ea
commit
a1f8d0705d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue