From ebee325143bce842efe7791a53a0d33fcf752665 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 8 Jul 2010 09:21:18 -0700 Subject: [PATCH] Use start-stop-daemon instead of kill for logrotate --- policy.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5