Skip to content
Snippets Groups Projects
Unverified Commit bd3a13b2 authored by chaptergy's avatar chaptergy
Browse files

Also rotate other logs

parent 289d1791
Branches
Tags
No related merge requests found
......@@ -23,3 +23,16 @@
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}
/data/logs/*.log /data/logs/*[!_error].log /data/logs/*[!_access].log {
create 0644 root root
weekly
rotate 5
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment