From cbcf1f83d3d68214a8601c36179f22164a724581 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 3 Jun 2022 09:51:36 +0200 Subject: [PATCH] Remove logrotate --- scripts/backup | 6 ------ scripts/restore | 7 ------- 2 files changed, 13 deletions(-) diff --git a/scripts/backup b/scripts/backup index 6d6d631..c6c42c3 100644 --- a/scripts/backup +++ b/scripts/backup @@ -45,12 +45,6 @@ ynh_backup --src_path="$final_path" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP LOGROTATE -#================================================= - -ynh_backup --src_path="/etc/logrotate.d/$app" - #================================================= # SPECIFIC BACKUP #================================================= diff --git a/scripts/restore b/scripts/restore index 25fabf5..6953f35 100644 --- a/scripts/restore +++ b/scripts/restore @@ -84,13 +84,6 @@ ynh_script_progression --message="Restoring the systemd configuration..." --weig ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet -#================================================= -# RESTORE THE LOGROTATE CONFIGURATION -#================================================= -ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1 - -ynh_restore_file --origin_path="/etc/logrotate.d/$app" - #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================