From 12fe8d55d551d3ae5939f9338324267b511f401a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:12:16 +0200 Subject: [PATCH] fix --- scripts/backup | 2 ++ scripts/restore | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/backup b/scripts/backup index afa01eb..9d5c346 100755 --- a/scripts/backup +++ b/scripts/backup @@ -32,6 +32,8 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" # BACKUP LOGROTATE #================================================= +ynh_backup --src_path="/var/log/$app" + ynh_backup --src_path="/etc/logrotate.d/$app" #================================================= diff --git a/scripts/restore b/scripts/restore index 8b28ee6..267c8f8 100755 --- a/scripts/restore +++ b/scripts/restore @@ -39,6 +39,8 @@ adduser turnserver ssl-cert ynh_restore_file --origin_path="/etc/$app" +ynh_restore_file --origin_path="/var/log/$app" + ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"