Browse Source

always restart ynh-vpnclient service after upgrade

HgO 1 year ago
parent
commit
f6e49c5142
1 changed files with 1 additions and 2 deletions
  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