From 7084c324f075bd0e8322c251d1b5dcb88b9d69f2 Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Fri, 24 Apr 2020 01:05:23 +0530 Subject: [PATCH] Removed logrotate --- scripts/restore | 6 ------ scripts/upgrade | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/restore b/scripts/restore index a4af90e..971f179 100644 --- a/scripts/restore +++ b/scripts/restore @@ -106,12 +106,6 @@ ynh_restore_file "/etc/cron.d/$app" chown -R $app: $final_path -#================================================= -# RESTORE THE LOGROTATE CONFIGURATION -#================================================= - -ynh_restore_file --origin_path="/etc/logrotate.d/$app" - # unprotected_uris allows SSO credentials to be passed anyway. ynh_app_setting_set $app unprotected_uris "/" diff --git a/scripts/upgrade b/scripts/upgrade index f4a7511..792e153 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -117,7 +117,7 @@ ynh_replace_string --match_string="mysqlusername" --replace_string="$db_nam ynh_replace_string --match_string="mysqldatabasename" --replace_string="$db_name" --target_file="$final_path/config/local.config.php" ynh_replace_string --match_string="mysqlpassword" --replace_string="$db_pwd" --target_file= "$final_path/config/local.config.php" ynh_replace_string --match_string="'admin_email' => ''," --replace_string="'admin_email' => '$admin_mail'," --target_file="$final_path/config/local.config.php" -ynh_replace_string --match_string="REGISTER_OPEN" --replace_string="REGISTER_CLOSED" --target_file="$final_path/config/local.config.php" +ynh_replace_string --match_string="OPEN" --replace_string="CLOSED" --target_file="$final_path/config/local.config.php" #Copy Addons