From: Russ Allbery
Date: Wed, 7 Jul 2010 15:58:40 +0000 (-0700)
Subject: Be clearer in the logrotate config text about postrotate purpose
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=62fa001d93f2e35923855f04cb3a9186e37791c8;p=debian%2Fdebian-policy.git
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.
---
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.