1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

No need to change permissions

Co-authored-by: Josué Tille <josue@tille.ch>
This commit is contained in:
tituspijean 2022-09-20 21:10:55 +02:00
parent e3b992c8e9
commit 752f2d3bf6
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -122,14 +122,6 @@ ynh_add_config --template="log.yaml" --destination="/etc/matrix-$app/log.yaml"
chown $synapse_user:root -R /etc/matrix-$app chown $synapse_user:root -R /etc/matrix-$app
chmod u=rwX,g=rX,o= -R /etc/matrix-$app chmod u=rwX,g=rX,o= -R /etc/matrix-$app
#=================================================
# SETUP PERMISSIONS
#=================================================
ynh_script_progression --message="Configuring permissions..." --weight=1
ynh_permission_url --permission=server_api --clear_urls
ynh_permission_url --permission=server_api --url=$domain/_matrix --add_url=$server_name/.well-known/matrix \
#================================================= #=================================================
# RELOAD SERVICES # RELOAD SERVICES
#================================================= #=================================================