mirror of
https://github.com/YunoHost-Apps/synapse-admin_ynh.git
synced 2024-09-03 20:26:34 +02:00
Update upgrade
This commit is contained in:
parent
a341d4bf80
commit
6799771358
1 changed files with 1 additions and 10 deletions
|
@ -33,7 +33,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=16
|
ynh_script_progression --message="Upgrading source files..." --weight=16
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir" --keep=".env"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
@ -50,15 +50,6 @@ ynh_add_nginx_config
|
||||||
# Create NGINX config to access /_synapse/admin endpoint
|
# Create NGINX config to access /_synapse/admin endpoint
|
||||||
ynh_add_config --template="endpoint.nginx.conf" --destination="/etc/nginx/conf.d/${synapse_domain}.d/$app.endpoint.conf"
|
ynh_add_config --template="endpoint.nginx.conf" --destination="/etc/nginx/conf.d/${synapse_domain}.d/$app.endpoint.conf"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# ADD A CONFIGURATION
|
|
||||||
#=================================================
|
|
||||||
#ynh_script_progression --message="Adding a configuration file..." --weight=1
|
|
||||||
|
|
||||||
#ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
|
|
||||||
|
|
||||||
#chown -R $app:www-data "$install_dir"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue