From 4c893a256a5452b3989a96a009c1a889f66e19c6 Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Mon, 22 Apr 2024 19:51:27 +0200 Subject: [PATCH] save jwtsecret --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 4c133d3..f9197ab 100755 --- a/scripts/install +++ b/scripts/install @@ -81,6 +81,7 @@ python3 -m venv --without-pip "$install_dir/venv" # JwtSecret jwtsecret=$(ynh_string_random --length=344 --filter='a-zA-Z0-9/+') +ynh_app_setting_set --app=$app --key=jwtsecret --value="$jwtsecret" password_couchdb_flohmarkt=$(ynh_string_random --length=31 --filter='A-Za-z0-9_.:,') ynh_app_setting_set --app=$app --key=password_couchdb_flohmarkt --value="$password_couchdb_flohmarkt"