From d2f0555c707eebd91930e52ec84463a2fa677d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 5 Oct 2023 22:42:58 +0200 Subject: [PATCH] Update change_url --- scripts/change_url | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index 3a9b28d..a429f4c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -25,6 +25,18 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# SPECIFIC MODIFICATIONS +#================================================= +# UPDATE CONFIGURATION FILE +#================================================= + +ynh_exec_warn_less 'ynh_add_config --template="../conf/config.xml" --destination="$data_dir/config.xml"' + +chmod 750 "$data_dir/config.xml" +chmod o-rwx "$data_dir/config.xml" +chown $app "$data_dir/config.xml" + #================================================= # GENERIC FINALISATION #=================================================