From f87ac27c3b646cc33138374b85bfdb40b16f330f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 29 May 2022 00:17:59 +0200 Subject: [PATCH] fix backup --- scripts/backup | 6 ------ scripts/restore | 2 -- 2 files changed, 8 deletions(-) diff --git a/scripts/backup b/scripts/backup index 4fcace1..01bf979 100755 --- a/scripts/backup +++ b/scripts/backup @@ -48,12 +48,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/logrotate.d/$app" -#================================================= -# BACKUP SYSTEMD -#================================================= - -ynh_backup --src_path="/etc/systemd/system/$app.service" - #================================================= # BACKUP SOGo CONFIGURATION #================================================= diff --git a/scripts/restore b/scripts/restore index 693ea55..ef99a29 100755 --- a/scripts/restore +++ b/scripts/restore @@ -88,8 +88,6 @@ chmod u=rwX,g=rX,o= -R /var/log/$app # RESTORE SYSTEMD #================================================= ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 - -ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet #=================================================