From 83aac4438b103ef41fb901f4596eb71a6d7937b8 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Wed, 27 Jun 2018 00:02:25 +0200 Subject: [PATCH] [enh] Remove 'logrotate' config as not needed See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37 --- scripts/backup | 5 ----- scripts/install | 6 ------ scripts/remove | 7 ------- scripts/restore | 4 ---- scripts/upgrade | 7 ------- 5 files changed, 29 deletions(-) diff --git a/scripts/backup b/scripts/backup index ce7f7b1..95f8839 100755 --- a/scripts/backup +++ b/scripts/backup @@ -56,9 +56,4 @@ ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini" #================================================= # SPECIFIC BACKUP #================================================= -# BACKUP LOGROTATE -#================================================= - -ynh_backup "/etc/logrotate.d/$app" - diff --git a/scripts/install b/scripts/install index 47961c3..7d94d17 100755 --- a/scripts/install +++ b/scripts/install @@ -140,12 +140,6 @@ chmod -R 755 $final_path/lib/plugins chmod 755 $final_path/lib/tpl/{dokuwiki,dokuwiki/images} #================================================= -# SETUP LOGROTATE -#================================================= - -# Use logrotate to manage application logfile(s) -ynh_use_logrotate - # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index 682dfea..e66c7f8 100755 --- a/scripts/remove +++ b/scripts/remove @@ -43,13 +43,6 @@ ynh_remove_nginx_config # Remove the dedicated php-fpm config ynh_remove_fpm_config -#================================================= -# REMOVE LOGROTATE CONFIGURATION -#================================================= - -# Remove the app-specific logrotate config -ynh_remove_logrotate - #================================================= # SPECIFIC REMOVE #================================================= diff --git a/scripts/restore b/scripts/restore index 63503cc..effa38b 100755 --- a/scripts/restore +++ b/scripts/restore @@ -87,11 +87,7 @@ ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini" # SPECIFIC RESTORATION #================================================= -#================================================= -# RESTORE THE LOGROTATE CONFIGURATION -#================================================= -ynh_restore_file "/etc/logrotate.d/$app" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index a485bf4..2b0789c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -170,13 +170,6 @@ ynh_backup_if_checksum_is_different "$final_path/conf/local.php" # Recalculate and store the config file checksum into the app settings ynh_store_file_checksum "$final_path/conf/local.php" -#================================================= -# SETUP LOGROTATE -#================================================= - -# Use logrotate to manage app-specific logfile(s) -ynh_use_logrotate --non-append - #================================================= # GENERIC FINALIZATION