mirror of
				https://github.com/YunoHost-Apps/send_ynh.git
				synced 2025-11-03 23:35:35 +01:00 
			
		
		
		
	Update change_url
This commit is contained in:
		@@ -29,6 +29,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1
 | 
				
			|||||||
# Needed for helper "ynh_add_nginx_config"
 | 
					# Needed for helper "ynh_add_nginx_config"
 | 
				
			||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
 | 
					final_path=$(ynh_app_setting_get --app=$app --key=final_path)
 | 
				
			||||||
port=$(ynh_app_setting_get --app=$app --key=port)
 | 
					port=$(ynh_app_setting_get --app=$app --key=port)
 | 
				
			||||||
 | 
					redis_db=$(ynh_app_setting_get --app=$app --key=redis_db)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#=================================================
 | 
					#=================================================
 | 
				
			||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
 | 
					# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
 | 
				
			||||||
@@ -106,6 +107,7 @@ fi
 | 
				
			|||||||
#=================================================
 | 
					#=================================================
 | 
				
			||||||
ynh_script_progression --message="Adding a configuration file..." --weight=2
 | 
					ynh_script_progression --message="Adding a configuration file..." --weight=2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					domain=$new_domain
 | 
				
			||||||
ynh_add_config --template="../conf/config.js" --destination="$final_path/server/config.js"
 | 
					ynh_add_config --template="../conf/config.js" --destination="$final_path/server/config.js"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
chmod 400 "$final_path/server/config.js"
 | 
					chmod 400 "$final_path/server/config.js"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user