Samba and logrotate from Redhat

Marc Haber Marc.Haber-lists at gmx.de
Mon Jan 11 14:49:58 GMT 1999


On Tue, 12 Jan 1999 01:26:34 +1100, you wrote:
>Has anyone had any success in getting Samba to correctly restart logging
>to the log files with the default logrotate setup (or even a modified one)
>from RedHat?  The default setup is to move the files to another location,
>create a new file for Samba to fill, then send the daemons a HUP signal.

>From what I know about RedHat's logrotate, you can specify arbitrary
shell commands to be executed after log file rotation. So, it would be
no problem to have logrotate kill and restart the samba processes.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


More information about the samba mailing list