D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
td-agent
/
etc
/
td-agent
/
logrotate.d
/
Filename :
td-agent.logrotate
back
Copy
/var/log/td-agent/td-agent.log { daily rotate 30 compress delaycompress notifempty create 640 td-agent td-agent sharedscripts postrotate pid=/var/run/td-agent/td-agent.pid if [ -s "$pid" ] then kill -USR1 "$(cat $pid)" fi endscript }