mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-11-22 16:00:25 -05:00
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:
parent
39b6de58dd
commit
9d68a079db
2 changed files with 2 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
/var/log/letsencrypt/*.log {
|
/var/log/letsencrypt/letsencrypt.log {
|
||||||
missingok
|
missingok
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/var/log/nginx/*log {
|
/var/log/nginx/access.log /var/log/nginx/error.log {
|
||||||
missingok
|
missingok
|
||||||
create 600 root root
|
create 600 root root
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue