From b4d3655e7a00fc1e6472ed6b276b11ed9ff71bef Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sun, 16 May 2021 18:55:19 +0200 Subject: Set REDIS_NAMESPACE for multiple instances --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/install') diff --git a/scripts/install b/scripts/install index 7e8e99d..d4056ef 100644 --- a/scripts/install +++ b/scripts/install @@ -162,6 +162,9 @@ config="$final_path/live/.env.production" language="$(echo $language | head -c 2)" +redis_namespace=${app}_production +ynh_app_setting_set --app="$app" --key=redis_namespace --value="$redis_namespace" + secret_key_base=$(ynh_string_random --length=128) ynh_app_setting_set --app="$app" --key=secret_key_base --value="$secret_key_base" -- cgit v1.2.3-70-g09d2