Update logrotate script

This commit is contained in:
Andreas Schneider 2019-12-05 18:09:34 +01:00
parent 92f910d0ce
commit e13ee9e124
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,10 @@
/var/log/samba/* { /var/log/samba/log.* {
compress
dateext
maxage 365
rotate 99
notifempty notifempty
olddir /var/log/samba/old olddir /var/log/samba/old
missingok missingok
sharedscripts
copytruncate copytruncate
} }

View File

@ -110,7 +110,7 @@ Source1: https://ftp.samba.org/pub/samba/samba-%{version}%{pre_release}.t
Source2: gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg Source2: gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg
# Red Hat specific replacement-files # Red Hat specific replacement-files
Source10: samba.log Source10: samba.logrotate
Source11: smb.conf.vendor Source11: smb.conf.vendor
Source12: smb.conf.example Source12: smb.conf.example
Source13: pam_winbind.conf Source13: pam_winbind.conf
@ -311,6 +311,7 @@ Summary: Files used by both Samba servers and clients
BuildArch: noarch BuildArch: noarch
Requires(post): systemd Requires(post): systemd
Recommends: logrotate
Provides: samba4-common = %{samba_depver} Provides: samba4-common = %{samba_depver}
Obsoletes: samba4-common < %{samba_depver} Obsoletes: samba4-common < %{samba_depver}