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

Fix permission

This commit is contained in:
Josué Tille 2018-01-13 01:07:17 +01:00
parent 78799558c9
commit f2611f733d
3 changed files with 9 additions and 5 deletions

View file

@ -68,7 +68,6 @@ ynh_psql_execute_as_root \
# Create directory and Install synapse in virtualenv # Create directory and Install synapse in virtualenv
setup_dir setup_dir
install_source install_source
set_permission
# Open access to server without a button the home # Open access to server without a button the home
cp ../conf/add_sso_conf.py $final_path cp ../conf/add_sso_conf.py $final_path
@ -94,6 +93,9 @@ config_coturn
ynh_use_logrotate /var/log/matrix-synapse ynh_use_logrotate /var/log/matrix-synapse
ynh_use_logrotate /var/log/turnserver ynh_use_logrotate /var/log/turnserver
# Set Permission for all directory
set_permission
# register yunohost service # register yunohost service
yunohost service add matrix-synapse yunohost service add matrix-synapse

View file

@ -39,9 +39,6 @@ adduser turnserver ssl-cert
# Restore all config and data # Restore all config and data
ynh_restore ynh_restore
# Set the permission
set_permission
# Open access to server without a button the home # Open access to server without a button the home
python $final_path/add_sso_conf.py python $final_path/add_sso_conf.py
@ -65,6 +62,9 @@ systemctl enable matrix-synapse.service
ynh_use_logrotate /var/log/matrix-synapse ynh_use_logrotate /var/log/matrix-synapse
ynh_use_logrotate /var/log/turnserver ynh_use_logrotate /var/log/turnserver
# Set the permission
set_permission
# register yunohost service # register yunohost service
yunohost service add matrix-synapse yunohost service add matrix-synapse

View file

@ -139,7 +139,6 @@ test -e /etc/matrix-synapse/dh.pem || cp /etc/yunohost/certs/$domain/dh.pem /etc
# Upgrade manually Synapse # Upgrade manually Synapse
install_source install_source
set_permission
# Update nginx config # Update nginx config
config_nginx config_nginx
@ -150,6 +149,9 @@ config_synapse
# Configure Coturn # Configure Coturn
config_coturn config_coturn
# Set Permission for all directory
set_permission
# Set new settings # Set new settings
ynh_app_setting_set $app synapse_version $APP_VERSION ynh_app_setting_set $app synapse_version $APP_VERSION