Parcourir la source

Store service_name

Kayou il y a 6 ans
Parent
commit
d26f296dd5
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      scripts/install

+ 3 - 2
scripts/install

@@ -64,6 +64,7 @@ ynh_print_info "Storing installation settings..."
 
 
 ynh_app_setting_set "$app" domain "$domain"
 ynh_app_setting_set "$app" domain "$domain"
 ynh_app_setting_set "$app" final_path "$final_path"
 ynh_app_setting_set "$app" final_path "$final_path"
+ynh_app_setting_set "$app" service_name "$service_name"
 
 
 #=================================================
 #=================================================
 # STANDARD MODIFICATIONS
 # STANDARD MODIFICATIONS
@@ -97,12 +98,12 @@ systemctl reload nginx
 
 
 # main service
 # main service
 
 
-yunohost service add $service_name --description "tunnels the internet traffic through a VPN" --need_lock
+yunohost service add $service_name --description "Tunnels the internet traffic through a VPN" --need_lock
 yunohost service enable $service_name
 yunohost service enable $service_name
 
 
 # checker service
 # checker service
 
 
-yunohost service add $service_checker_name --description "makes sure that the VPN service is running" --need_lock
+yunohost service add $service_checker_name --description "Makes sure that the VPN service is running" --need_lock
 yunohost service start $service_checker_name
 yunohost service start $service_checker_name
 yunohost service enable $service_checker_name
 yunohost service enable $service_checker_name
 systemctl start $service_checker_name.timer
 systemctl start $service_checker_name.timer