/var/log/icecast2/*.log { weekly missingok rotate 7 postrotate if pgrep icecast2 >/dev/null; then invoke-rc.d --quiet icecast2 reload > /dev/null fi endscript compress notifempty }