X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=etc%2Fcertmaster_rotate;h=cfdf00ed6f225abb385fb90f6ecd0f324921ab9b;hp=e12edfb756cabcc5ae751729db4f8673df269fdd;hb=fbd4bc1fe300150b55255d5af80052601dfbcd77;hpb=8f2ff4d7c902d534d68ff1a16418b7be492033bf diff --git a/etc/certmaster_rotate b/etc/certmaster_rotate index e12edfb..cfdf00e 100644 --- a/etc/certmaster_rotate +++ b/etc/certmaster_rotate @@ -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 -} -