mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Clean ynh_backup fonction
This commit is contained in:
parent
c8c90aa226
commit
753e0b5de5
1 changed files with 5 additions and 5 deletions
|
@ -39,20 +39,20 @@ final_path=$(ynh_app_setting_get $app final_path)
|
||||||
# BACKUP THE NGINX CONFIGURATION
|
# BACKUP THE NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/etc/nginx/conf.d/${domain}.d/${app}.conf" "nginx.conf"
|
ynh_backup "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP SYNAPSE CONFIG
|
# BACKUP SYNAPSE CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/etc/matrix-$app" "synapse_config"
|
ynh_backup "/etc/matrix-$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP COTURN CONFIG
|
# BACKUP COTURN CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/etc/turnserver.conf" "coturn_config"
|
ynh_backup "/etc/turnserver.conf"
|
||||||
ynh_backup "/etc/default/coturn" "coturn_config_default"
|
ynh_backup "/etc/default/coturn"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP SYSTEMD
|
# BACKUP SYSTEMD
|
||||||
|
@ -85,4 +85,4 @@ ynh_psql_dump_db "$synapse_db_name" > ${YNH_CWD}/dump.sql
|
||||||
# BACKUP SYNAPSE LOG
|
# BACKUP SYNAPSE LOG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/var/log/matrix-$app" "log"
|
ynh_backup "/var/log/matrix-$app"
|
Loading…
Reference in a new issue