Add logrotate configuration
This commit is contained in:
10
etc/logrotate.d/xray
Normal file
10
etc/logrotate.d/xray
Normal file
@@ -0,0 +1,10 @@
|
||||
/etc/xray/log/*.log {
|
||||
hourly
|
||||
rotate 24
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
copytruncate
|
||||
dateext
|
||||
}
|
||||
Reference in New Issue
Block a user