]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba.logrotate
- up to 4.1.17; fixes CVE-2014-8143 (.16), CVE-2014-8143 (.16), CVE-2015-0240 (.17...
[packages/samba.git] / samba.logrotate
index 362a4a46472fb3d9c3e114b1f35cf894f239d556..199317d1bc5f8417ea0cc4fdc061455c89c1d293 100644 (file)
@@ -1,10 +1,10 @@
-/var/log/samba/log.nmb {
-    postrotate
-       /usr/bin/killall -HUP nmbd
-    endrotate
-}
-/var/log/samba/log.smb {
-    postrotate
-       /usr/bin/killall -HUP smbd
-    endrotate
+/var/log/samba/log.* {
+       sharedscripts
+       notifempty
+       missingok
+       olddir /var/log/archive/samba
+       postrotate
+               /sbin/service smb reload >/dev/null || :
+               /sbin/service samba reload >/dev/null || :
+       endscript
 }
This page took 0.037758 seconds and 4 git commands to generate.