1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libremdb_ynh.git synced 2024-09-03 19:36:22 +02:00

add env-file to change_url script

This commit is contained in:
Sebastian Gumprich 2023-04-19 11:40:14 +02:00
parent aadae35ac6
commit 0594d3d699

View file

@ -100,6 +100,16 @@ then
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
fi
#=================================================
# CHANGE APP CONFIGURATION
#=================================================
ynh_script_progression --message="Changing app configuration file..." --weight=1
ynh_add_config --template="../conf/.env.local.example" --destination="$final_path/.env.local"
chmod 400 "$final_path/.env.local"
chown $app:$app "$final_path/.env.local"
#=================================================
# GENERIC FINALISATION
#=================================================