[Samba] Logrotate
Carlos
carlos.hollow at gmail.com
Mon May 14 18:56:11 UTC 2018
Hi!
I have one problem with my logrotate.
Samba version:
Samba 4 7.7 (compilated)
S.O.:
Ubuntu 14.04 /16.04
Samba logs file:
/opt/samba/var/
Logrotate File:
cat /etc/logrotate.d/samba
--
/opt/samba/var/log.samba
{
rotate 10
daily
compress
dateext
size 100M
nomail
missingok
notifempty
create 644 root root
#postrotate
# systemctl stop samba &> /dev/null
# systemctl start samba &> /dev/null
#endscript
}
--
My problem is, when logrotate is executed, log is rotate but after ,
don't log messages anymore, log.samba is was"zero"., is need restart in
samba, then log message is back.
Any idea?
Regards;
More information about the samba
mailing list