1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/packaging/Debian/debian/samba.logrotate
Eloy Paris 72cc0c82c4 Bringing packaging/Debian/ up to date with the current Samba package
in Debian unstable. The stuff here was ages old...
(This used to be commit 5646df8bfb)
2003-06-01 04:30:13 +00:00

22 lines
328 B
Plaintext

/var/log/samba/log.smbd {
weekly
missingok
rotate 7
postrotate
invoke-rc.d --quiet samba reload > /dev/null
endscript
compress
notifempty
}
/var/log/samba/log.nmbd {
weekly
missingok
rotate 7
postrotate
[ -f /var/run/samba/nmbd.pid ] && kill -HUP `cat /var/run/samba/nmbd.pid`
endscript
compress
notifempty
}