Add logrotate configuration

This commit is contained in:
2025-02-02 23:22:59 +05:00
parent 381c5c1442
commit a5c8961d78
3 changed files with 19 additions and 0 deletions

10
etc/logrotate.d/xray Normal file
View File

@@ -0,0 +1,10 @@
/etc/xray/log/*.log {
hourly
rotate 24
missingok
notifempty
compress
delaycompress
copytruncate
dateext
}