On Wed, Jun 13, 2001 at 04:03:11PM -0400, Scott Russell wrote:
> Greets.
>
> I'm running rsyncd out of xinetd and will be logging to /var/log/rsyncd.log.
> Is there anything special I need to do with rsync if I use logrotate to
> manage the rsyncd.log files? Do I need to 'restart' the rsyncd process if
> one is running and the log gets rotated?
I haven't used logrotate, but modified rsync some time ago to have it close
and re-open the log file on every connection, to allow the log file to be
moved away when running as a stand-alone background daemon. When running
from xinetd you're re-starting rsync completely on every connection so it
would have worked even without my modification. Each individual connection
is pretty short lived so you shouldn't have to worry about any running
rsync daemon processes. Are you having a problem?
- Dave Dykstra