> I can't reproduce this. logrotate is exiting, but isn't getting picked up by
> the caller. Is your  /etc/cron.daily/logrotate  different to:
>
> #!/bin/sh
>
> test -x /usr/sbin/logrotate || exit 0
> /usr/sbin/logrotate /etc/logrotate.conf

No, it's the same.

> Also, what's in your /etc/logrotate.d/stunnel4 ?

/var/log/stunnel4/*.log {
        daily
        missingok
        rotate 7
        compress
        delaycompress
        notifempty
        create 640 root adm
        sharedscripts
        postrotate
                /etc/init.d/stunnel4 restart 2>&1 >/dev/null
        endscript
}

The "2>&1" was added because it had helped in a similar case. Makes no
difference either way.

Regards,

C.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to