Package: stunnel4
Version: 3:4.22-2

/etc/cron.daily/logrotate:
error: error running shared postrotate script
for /var/log/stunnel4/*.log run-parts: /etc/cron.daily/logrotate exited
with return code 1

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

        postrotate
           [ -r /var/run/stunnel4.pid ] && \
           [ -r /proc/$(cat /var/run/stunnel4.pid) ] && \
           /etc/init.d/stunnel4 restart > /dev/null
        endscript

This script fragment may make error go away, but won't fix binding
issue I will report in other bug if not already reported. My reason for
using the stunnel wrapper is that stunnel4 fails to bind after restart.
This could be addressed properly in bugs #323171, #323171.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to