From 1bd433847cc90705891b88d1b62077bc02c0d6e3 Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Fri, 2 Apr 2021 00:03:34 -0400 Subject: [PATCH] Fix logrotate --- scripts/upgrade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index fb2f6df..f908a18 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -244,10 +244,10 @@ setfacl -n -R -m user:www-data:rx -m default:user:www-data:rx $data_path/protect ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1 # Use logrotate to manage application logfiles -ynh_use_logrotate --logfile="/var/log/$app/command_build_similarity_index.log" --specific_user="$app/$app" -ynh_use_logrotate --logfile="/var/log/$app/gunicorn_django.log" --specific_user="$app/$app" -ynh_use_logrotate --logfile="/var/log/$app/image_similarity.log" --specific_user="$app/$app" -ynh_use_logrotate --logfile="/var/log/$app/ownphotos.log" --specific_user="$app/$app" +ynh_use_logrotate --logfile="/var/log/$app/command_build_similarity_index.log" --specific_user="$app/$app" --non-append +ynh_use_logrotate --logfile="/var/log/$app/gunicorn_django.log" --specific_user="$app/$app" --non-append +ynh_use_logrotate --logfile="/var/log/$app/image_similarity.log" --specific_user="$app/$app" --non-append +ynh_use_logrotate --logfile="/var/log/$app/ownphotos.log" --specific_user="$app/$app" --non-append #================================================= # INTEGRATE SERVICES IN YUNOHOST