Browse Source

fix use of ynh_add_systemd_config

Kayou 6 years ago
parent
commit
2b60906505
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/_common.sh

+ 2 - 2
scripts/_common.sh

@@ -196,9 +196,9 @@ function vpnclient_deploy_files_and_services()
   #=================================================
   ynh_print_info "Configuring a systemd service..."
 
-  ynh_add_systemd_config $service_name
+  ynh_add_systemd_config $service_name "$service_name.service"
 
-  ynh_add_systemd_config $service_checker_name
+  ynh_add_systemd_config $service_checker_name "$service_checker_name.service"
 }
 
 function service_is_managed_by_yunohost() {