From 7b0ff0cc6722cf2d412821afd9f21d6df2134621 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 20 May 2021 21:12:36 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 412afcf..1f2c614 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -120,6 +120,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= ynh_script_progression --message="Configuring Castopod..." --weight=1 +redis_number=$(( $YNH_APP_INSTANCE_NUMBER - 1 )) ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" chmod 600 $final_path/.env chown $app:www-data "$final_path/.env"