[PATCH] Consolidated definitions in logrotate file using glob. Added sharedscripts directive so that HUP of running certmaster happens only once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 etc/certmaster_rotate |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/etc/certmaster_rotate b/etc/certmaster_rotate
index 975966a..cfdf00e 100644
--- a/etc/certmaster_rotate
+++ b/etc/certmaster_rotate
@@ -1,19 +1,12 @@
-/var/log/certmaster/audit.log {
+/var/log/certmaster/*.log {
    missingok
    notifempty
    rotate 4
    weekly
+   sharedscripts
    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
-}
-
-- 
1.7.4.4

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux