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 #=================================================