Steve Langasek <vor...@debian.org> writes: > I'm not nearly so certain that it's not a bug to use invoke-rc.d here. > The desired semantics of a logrotate script are "after rotating the log, > *iff the daemon is running*, reload it to trigger it to reopen the > logfile; otherwise do nothing". *Neither* the existing example, nor > invoke-rc.d, gives these semantics; and switching to invoke-rc.d only > makes the wrongness of logrotate's behavior less difficult to > understand.
What if I change the logrotate example to: invoke-rc.d foo reload > /dev/null That appears to be the common practice right now, and that should avoid that problem. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87tyoegbkw....@windlord.stanford.edu