From: Russ Allbery Date: Thu, 8 Jul 2010 16:21:18 +0000 (-0700) Subject: Use start-stop-daemon instead of kill for logrotate X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ebee325143bce842efe7791a53a0d33fcf752665;p=debian%2Fdebian-policy.git Use start-stop-daemon instead of kill for logrotate --- diff --git a/policy.sgml b/policy.sgml index a7bf76e..975ea13 100644 --- a/policy.sgml +++ b/policy.sgml @@ -7939,7 +7939,7 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq compress missingok postrotate - [ -f /var/run/foo.pid ] && kill -s HUP `cat /var/run/foo.pid` + start-stop-daemon -K -p /var/run/foo.pid -s HUP -x /usr/sbin/foo -q endscript }