amelioration emplacement des logs et rotation

This commit is contained in:
2025-01-13 22:25:45 +01:00
parent 7969bbc511
commit c9795a3b74
2 changed files with 4 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
/var/opt/remi/php{{ php_version_nodot }}/log/php-fpm/*log {
{{ php_fpm_log_dir }}/php_fpm_{{ php_pool_name }}*.log {
daily
rotate 15
missingok
notifempty
sharedscripts
postrotate
/bin/systemctl reload php{{ php_version_nodot }}-php-fpm
/bin/systemctl reload php{{ php_version }}-php-fpm
endscript
}