From 62fa001d93f2e35923855f04cb3a9186e37791c8 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 7 Jul 2010 08:58:40 -0700 Subject: [PATCH] Be clearer in the logrotate config text about postrotate purpose It's not to get the daemon to re-read its configuration, but rather to force it to reopen its log files. --- policy.sgml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/policy.sgml b/policy.sgml index f98a775..a7bf76e 100644 --- a/policy.sgml +++ b/policy.sgml @@ -7944,11 +7944,10 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq } This rotates all files under /var/log/foo, saves 12 - compressed generations, and forces the daemon to reload its - configuration information after the log rotation. It skips this - log rotation (via missingok) if no such log file is - present, which avoids errors if the package is removed but not - purged. + compressed generations, and tells the daemon to reopen its log + files after the log rotation. It skips this log rotation + (via missingok) if no such log file is present, which + avoids errors if the package is removed but not purged.

-- 2.39.5