From a560151218d1dfd890fbb36de4e961b4b134b2b0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 9 Nov 2021 08:05:34 +0100 Subject: [PATCH] Update install --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 57e6801..2f47b53 100644 --- a/scripts/install +++ b/scripts/install @@ -151,6 +151,14 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=2 # Create a dedicated systemd config ynh_add_systemd_config +#================================================= +# SETUP LOGROTATE +#================================================= +ynh_script_progression --message="Configuring log rotation..." --weight=1 + +# Use logrotate to manage application logfile(s) +ynh_use_logrotate + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================