Browse Source

fix warning when removing service

HgO 5 months ago
parent
commit
c3ba95bbf8
1 changed files with 0 additions and 2 deletions
  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