ansible-role-chill/templates/logrotate/chill
Julien Fastré 41531016aa
Add php-fpm user and group for log file ownership
This commit introduces the php-fpm user and group, assigning ownership of relevant log files to ensure proper permissions. Updates were also made to the logrotate configuration to include the `su` directive for php-fpm. These changes improve compatibility and address log management requirements.
2025-01-13 11:35:45 +01:00

17 lines
219 B
Plaintext

/var/log/chill/default-*.log {
su php-fpm php-fpm
rotate 90
daily
compress
missingok
notifempty
}
/var/log/apt/private-*.log {
su php-fpm php-fpm
rotate 180
daily
compress
missingok
notifempty
}