From 3cee13dd50db3c8b83a853444f3b827f2e2d62be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 7 Jun 2023 00:50:36 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index c537459..19f6def 100644 --- a/scripts/install +++ b/scripts/install @@ -126,17 +126,17 @@ chown $synapse_user:root -R $final_www_path ynh_script_progression --message="Creating Synapse config..." --weight=3 # Go in virtualenvironnement -#set +u; +set +u; source $install_dir/bin/activate -#set -u; +set -u; # Generate config python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --server-name $server_name --report-stats=no -c homeserver.yml # This function was defined when we called "source $install_dir/bin/activate". With this function we undo what "$install_dir/bin/activate" does -#set +u; +set +u; deactivate -#set -u; +set -u; # Get random values from config registration_shared_secret=$(egrep "^registration_shared_secret:" homeserver.yml | cut -d'"' -f2)