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:
parent
78799558c9
commit
f2611f733d
3 changed files with 9 additions and 5 deletions
|
@ -68,7 +68,6 @@ ynh_psql_execute_as_root \
|
|||
# Create directory and Install synapse in virtualenv
|
||||
setup_dir
|
||||
install_source
|
||||
set_permission
|
||||
|
||||
# Open access to server without a button the home
|
||||
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/turnserver
|
||||
|
||||
# Set Permission for all directory
|
||||
set_permission
|
||||
|
||||
# register yunohost service
|
||||
yunohost service add matrix-synapse
|
||||
|
||||
|
|
|
@ -39,9 +39,6 @@ adduser turnserver ssl-cert
|
|||
# Restore all config and data
|
||||
ynh_restore
|
||||
|
||||
# Set the permission
|
||||
set_permission
|
||||
|
||||
# Open access to server without a button the home
|
||||
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/turnserver
|
||||
|
||||
# Set the permission
|
||||
set_permission
|
||||
|
||||
# register yunohost service
|
||||
yunohost service add matrix-synapse
|
||||
|
||||
|
|
|
@ -139,7 +139,6 @@ test -e /etc/matrix-synapse/dh.pem || cp /etc/yunohost/certs/$domain/dh.pem /etc
|
|||
|
||||
# Upgrade manually Synapse
|
||||
install_source
|
||||
set_permission
|
||||
|
||||
# Update nginx config
|
||||
config_nginx
|
||||
|
@ -150,6 +149,9 @@ config_synapse
|
|||
# Configure Coturn
|
||||
config_coturn
|
||||
|
||||
# Set Permission for all directory
|
||||
set_permission
|
||||
|
||||
# Set new settings
|
||||
ynh_app_setting_set $app synapse_version $APP_VERSION
|
||||
|
||||
|
|
Loading…
Reference in a new issue