diff --git a/scripts/change_url b/scripts/change_url index 4ba8cf7..46996dd 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -16,6 +16,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Adding a configuration file..." --weight=1 + +ynh_add_config --template=".env.example" --destination="$install_dir/.env" + +chmod 600 "$install_dir/.env" +chown $app:$app "$install_dir/.env" + #================================================= # END OF SCRIPT #=================================================