/var/log/libcare/*.log {
    daily
    rotate 5
    maxage 5
    missingok
    notifempty
    compress
    nocreate
    postrotate
        [ ! -S /var/run/libcare.sock ] || \
        [ $(basename "$1") != server.log ] || \
            /usr/libexec/kcare/libcare-client reconf
    endscript
}
