DelayNoMore/battle_srv/logrotate/treasure-hunter
2022-09-20 23:52:55 +08:00

17 lines
590 B
Plaintext

# This file should be put as "/etc/logrotate.d/treasure-hunter".
# Manual usage Example
# - logrotate -f /etc/logrotate.d/treasure-hunter
/var/log/treasure-hunter.log {
rotate 12
size 32M
hourly
missingok
notifempty
compress
delaycompress
copytruncate
create 0640 ubuntu ubuntu
su ubuntu ubuntu
}