Parcourir la source

fix warning when removing service

HgO il y a 5 mois
Parent
commit
c3ba95bbf8
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      scripts/remove

+ 0 - 2
scripts/remove

@@ -14,8 +14,6 @@ systemctl stop $service_checker_name
 systemctl disable $service_checker_name --quiet
 
 if ynh_exec_warn_less yunohost service status $service_name >/dev/null; then
-    yunohost service stop $service_name
-    yunohost service disable $service_name --quiet
     yunohost service remove $service_name
 fi