mirror of
https://github.com/AlexMacocian/ServerManagementUtils.git
synced 2026-07-15 15:19:58 +00:00
17 lines
351 B
Plaintext
17 lines
351 B
Plaintext
# Logrotate configuration for server monitoring scripts
|
|
# This file should be placed in /etc/logrotate.d/
|
|
|
|
/var/log/disk_usage.log /var/log/power_usage.log /var/log/temperature.log {
|
|
daily
|
|
rotate 10
|
|
compress
|
|
delaycompress
|
|
notifempty
|
|
create 644 root root
|
|
su root root
|
|
dateext
|
|
nomail
|
|
missingok
|
|
copytruncate
|
|
}
|