Consolidated definitions in logrotate file using glob.
[certmaster.git] / etc / certmaster_rotate
index e12edfb..cfdf00e 100644 (file)
@@ -1,19 +1,12 @@
-/var/log/func/audit.log {
+/var/log/certmaster/*.log {
    missingok
    notifempty
    rotate 4
    weekly
+   sharedscripts
    postrotate
-      if [ -f /var/lock/subsys/funcd ]; then
-         /etc/init.d/funcd condrestart
+      if [ -f /var/lock/subsys/certmasterd ]; then
+         /etc/init.d/certmasterd condrestart
       fi
    endscript
 }
-
-/var/log/func/func.log {
-   missingok
-   notifempty
-   rotate 4
-   weekly
-}
-