From: Russ Allbery Date: Wed, 7 Jul 2010 15:55:05 +0000 (-0700) Subject: Avoid init scripts entirely in logrotate example X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=82ebdf8a823b6eb527d531e8867eb26197a8544c;p=debian%2Fdebian-policy.git 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. --- 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 }