From 825f691087b1ee8c6a09b36a703fdab2a57e0f4c Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Jul 2022 07:35:34 +0200 Subject: [PATCH] Setup logrotate --- scripts/upgrade | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 27eff97..3ce5a5e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -186,6 +186,12 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil #================================================= # GENERIC FINALIZATION +#================================================= +# SETUP LOGROTATE +#================================================= + +ynh_use_logrotate --non-append + #================================================= # SECURE FILES AND DIRECTORIES #=================================================