diff --git a/scripts/install b/scripts/install index 8519654c..9b385c3b 100644 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,7 @@ ynh_script_progression --message="Configuring log rotation..." --weight=1 # Use logrotate to manage application logfile(s) ynh_use_logrotate --logfile="/var/log/$app/${app}-horizon.log" -ynh_use_logrotate --logfile="/var/www/$app/storage/logs/laravel.log" +ynh_use_logrotate --logfile="/var/www/$app/storage/logs/laravel.log" --specific_user=$app/www-data #================================================= # PATCH PERMISSIONS for v0.11.5 versions and higher