Re: [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]

 



On Mon, 2011-09-05 at 16:26 -0500, Greg Swift wrote:
> ---
>  etc/func_rotate |   12 ++----------
>  1 files changed, 2 insertions(+), 10 deletions(-)
> 
> diff --git a/etc/func_rotate b/etc/func_rotate
> index b48b8ab..46781a3 100644
> --- a/etc/func_rotate
> +++ b/etc/func_rotate
> @@ -1,20 +1,12 @@
> -/var/log/func/audit.log {
> +/var/log/func/*.log {
>     missingok
>     notifempty
>     rotate 4
>     weekly
> +   sharedscripts
>     postrotate
>        if [ -f /var/lock/subsys/funcd ]; then
>           /etc/init.d/funcd condrestart > /dev/null
>        fi
>     endscript
>  }
> -
> -/var/log/func/func.log {
> -   missingok
> -   notifempty
> -   copytruncate
> -   rotate 4
> -   weekly
> -}
> -


ACK to both.

-sv


_______________________________________________
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