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:
parent
aadae35ac6
commit
0594d3d699
1 changed files with 10 additions and 0 deletions
|
@ -100,6 +100,16 @@ then
|
||||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||||
fi
|
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
|
# GENERIC FINALISATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue