mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-26 01:00:33 +00:00
Add logrotate for pihole.log
This commit is contained in:
parent
10f77df8bb
commit
3fd2ffd466
3 changed files with 18 additions and 1 deletions
9
advanced/logrotate
Normal file
9
advanced/logrotate
Normal file
|
@ -0,0 +1,9 @@
|
|||
/var/log/pihole.log {
|
||||
daily
|
||||
copytruncate
|
||||
rotate 5
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
nomail
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue