/opt/printserver/run.log /opt/printserver/cameraOsd.log { su root root daily maxsize 200M rotate 5 missingok notifempty # systemd 用 append 方式持有 run.log 的 fd,copytruncate 才能安全切割 copytruncate compress delaycompress }