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)
|
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||||
|
|
||||||
if [[ "$server_name" == "$default_domain_value" ]]; then
|
if [[ "$server_name" == "$default_domain_value" ]]; then
|
||||||
server_name=$domain
|
server_name=$domain
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -205,7 +205,7 @@ source $final_path/bin/activate
|
||||||
set -u;
|
set -u;
|
||||||
|
|
||||||
# Generate config
|
# 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
|
# 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;
|
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 \
|
--label="Server info for clients. (well-known)" --show_tile=false --allowed=visitors \
|
||||||
--auth_header=false --protected=true
|
--auth_header=false --protected=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE HOOKS
|
# UPDATE HOOKS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue