From 753e0b5de511cadc05af4cda885f6c99deafb23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 12 Feb 2018 18:13:44 +0100 Subject: [PATCH] Clean ynh_backup fonction --- scripts/backup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/backup b/scripts/backup index cc03179..5f2b2f0 100644 --- a/scripts/backup +++ b/scripts/backup @@ -39,20 +39,20 @@ final_path=$(ynh_app_setting_get $app final_path) # 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 #================================================= -ynh_backup "/etc/matrix-$app" "synapse_config" +ynh_backup "/etc/matrix-$app" #================================================= # BACKUP COTURN CONFIG #================================================= -ynh_backup "/etc/turnserver.conf" "coturn_config" -ynh_backup "/etc/default/coturn" "coturn_config_default" +ynh_backup "/etc/turnserver.conf" +ynh_backup "/etc/default/coturn" #================================================= # BACKUP SYSTEMD @@ -85,4 +85,4 @@ ynh_psql_dump_db "$synapse_db_name" > ${YNH_CWD}/dump.sql # BACKUP SYNAPSE LOG #================================================= -ynh_backup "/var/log/matrix-$app" "log" \ No newline at end of file +ynh_backup "/var/log/matrix-$app" \ No newline at end of file