logrotate: use specific log file paths

This avoids ending up with the glob path in the logrotate state file
when nothing matches the glob pattern.
This commit is contained in:
Daniel Micay 2025-11-03 12:45:36 -05:00
parent 39b6de58dd
commit 9d68a079db
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
/var/log/letsencrypt/*.log {
/var/log/letsencrypt/letsencrypt.log {
missingok
}

View file

@ -1,4 +1,4 @@
/var/log/nginx/*log {
/var/log/nginx/access.log /var/log/nginx/error.log {
missingok
create 600 root root
sharedscripts