/var/tmp/fhz1000.log { rotate 6 size 2M compress missingok notifempty postrotate [[ `ps -ef | grep fhz1000.pl | grep -v grep` ]] && \ /etc/init.d/fhz1000 restart endscript }