1 2 3 4 5 6 7 8
/var/log/h2o/*.log { missingok delaycompress sharedscripts postrotate test -r $(grep pid-file "/etc/h2o/h2o.conf" | cut -d' ' -f2) && kill -HUP $(pidof h2o) endscript }