#
# Rotate SAGATOR daemon log file
#

/var/spool/vscan/var/log/sagator/sagator.log {
    weekly
    rotate 5
    missingok
    nocompress
    postrotate
	/bin/kill -HUP `cat /var/run/sagator.pid 2> /dev/null`\
          2> /dev/null || true
	[ -f /var/run/scand.pid ] \
          && /bin/kill -HUP `cat /var/run/scand.pid 2> /dev/null` \
            2> /dev/null || true
    endscript
    create 640 vscan vscan
}
