mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix install
This commit is contained in:
parent
b75e03bf87
commit
acb6125509
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ data_path="/home/yunohost.app/matrix-$app"
|
|||
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||
|
||||
if [[ "$server_name" == "$default_domain_value" ]]; then
|
||||
server_name=$domain
|
||||
server_name=$domain
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
@ -205,7 +205,7 @@ source $final_path/bin/activate
|
|||
set -u;
|
||||
|
||||
# Generate config
|
||||
python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --generate-keys --server-name $server_name --report-stats=no -c homeserver.yml
|
||||
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 $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does
|
||||
set +u;
|
||||
|
@ -341,7 +341,7 @@ if yunohost --output-as plain domain list | grep -q "^$server_name$"; then
|
|||
--label="Server info for clients. (well-known)" --show_tile=false --allowed=visitors \
|
||||
--auth_header=false --protected=true
|
||||
fi
|
||||
|
||||
|
||||
#=================================================
|
||||
# UPDATE HOOKS
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue