Added sharedscripts directive so that HUP of running certmaster happens only once
-/var/log/certmaster/audit.log {
+/var/log/certmaster/*.log {
missingok
notifempty
rotate 4
weekly
missingok
notifempty
rotate 4
weekly
postrotate
if [ -f /var/lock/subsys/certmasterd ]; then
/etc/init.d/certmasterd condrestart
fi
endscript
}
postrotate
if [ -f /var/lock/subsys/certmasterd ]; then
/etc/init.d/certmasterd condrestart
fi
endscript
}
-
-/var/log/certmaster/certmaster.log {
- missingok
- notifempty
- rotate 4
- weekly
-}
-