Could you change the restart to use invoke-rc.d so it doesn't start
when it shouldn't, and silence the output.
# grep -e invoke-rc.d -e /etc/init.d /etc/logrotate.d/*
/etc/logrotate.d/apache2: /etc/init.d/apache2 reload > /dev/null
/etc/logrotate.d/cups: invoke-rc.d --quiet cups
force-reload > /dev/null
/etc/logrotate.d/rsyslog: invoke-rc.d rsyslog rotate > /dev/null
/etc/logrotate.d/rsyslog: invoke-rc.d rsyslog rotate > /dev/null
/etc/logrotate.d/samba: /etc/init.d/samba reload > /dev/null
/etc/logrotate.d/tt-rss: /etc/init.d/tt-rss restart
Actually, thinking about this why not just use syslog? I'm sure there
is a python thing for it and then you can just forget about logging
complexity. Maybe one for upstream.
Cheers,
Tim.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org