Parcourir la source

always restart ynh-vpnclient service after upgrade

HgO il y a 1 an
Parent
commit
f6e49c5142
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      scripts/upgrade

+ 1 - 2
scripts/upgrade

@@ -156,8 +156,7 @@ fi
 ynh_print_info "Restart services..."
 
 # this is meant to propagate the new files and configs
-
-systemctl -q is-active $service_name               && yunohost service restart $service_name
+yunohost service restart $service_name
 
 # Not sure if these are really necessary ...
 systemctl -q is-active $service_checker_name       && systemctl restart $service_checker_name