From a735d5718c374d29cfe87c8a0190883e885b6a36 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 31 Mar 2019 22:51:17 +0200 Subject: [PATCH] Cleanup script --- scripts/upgrade | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 843069f0..87a042b5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -123,28 +123,10 @@ ynh_add_fpm_config # ... #================================================= -### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. -### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. ynh_backup_if_checksum_is_different "$final_path/CONFIG_FILE" # Recalculate and store the checksum of the file for the next upgrade. ynh_store_file_checksum "$final_path/CONFIG_FILE" -#================================================= -# SETUP LOGROTATE -#================================================= -ynh_print_info "Upgrading logrotate configuration..." - -# Use logrotate to manage app-specific logfile(s) -ynh_use_logrotate --non-append - -#================================================= -# SETUP SYSTEMD -#================================================= -ynh_print_info "Upgrading systemd configuration..." - -# Create a dedicated systemd config -ynh_add_systemd_config - #================================================= # GENERIC FINALIZATION #=================================================