From 31046eb6ad3c129de064c55a9f1cbc1700202e9c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 26 Jan 2022 14:24:07 +0100 Subject: [PATCH] Update install --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index e8204ce..eb6f667 100644 --- a/scripts/install +++ b/scripts/install @@ -150,6 +150,14 @@ ynh_script_progression --message="Securing files and directories..." # Set permissions to app files chown -R $app: $final_path +#================================================= +# 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 #=================================================