From f2209f567ab1f1cdfc08110f597aa082ebc638a0 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 5 Feb 2023 20:49:55 +0100 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index ba5e74a..1a87a58 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,9 +89,9 @@ chown -R $app:www-data "$final_path" #================================================= ynh_script_progression --message="Installing service script..." --weight=1 -#ynh_add_config --template="../conf/.env.production" --destination="$final_path/.env" -#chmod 600 $final_path/.env -#chown $app:www-data "$final_path/.env" +ynh_add_config --template="../conf/.env.production" --destination="$final_path/.env" +chmod 600 $final_path/.env +chown $app:www-data "$final_path/.env" set -a; source "$final_path/.env"; set +a