Open zqhong opened 7 years ago
/var/log/privoxy/logfile { missingok create 660 root privoxy notifempty compress postrotate /bin/kill -HUP `cat /var/run/privoxy.pid 2>/dev/null` 2> /dev/null || true endscript } [a
被遗忘的Logrotate Linux日志文件总管——logrotate logrotate(8) - Linux man page
Simple
参考
被遗忘的Logrotate Linux日志文件总管——logrotate logrotate(8) - Linux man page