From 82ebdf8a823b6eb527d531e8867eb26197a8544c Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 7 Jul 2010 08:55:05 -0700 Subject: [PATCH] Avoid init scripts entirely in logrotate example The best way to call the init script in a logrotate example is debated and will be handled in another bug. In the meantime, avoid the problem entirely by not calling the init script. --- policy.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy.sgml b/policy.sgml index 473601e..5ff9f37 100644 --- a/policy.sgml +++ b/policy.sgml @@ -7930,7 +7930,7 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq compress missingok postrotate - invoke-rc.d foo force-reload + [ -f /var/run/foo.pid ] && kill -s HUP `cat /var/run/foo.pid` endscript } -- 2.39.5