From 557b86e1834d9aa8477a2b0eda84f93e21e54921 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 7 Nov 2014 15:27:32 +0100 Subject: [PATCH] reload samhain using invoke-rc.d Getting rid of explicit /etc/init.d/ invocations as those may disappear. Signed-off-by: Helmut Grohne --- modules/samhain/templates/logrotate.d-samhain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/samhain/templates/logrotate.d-samhain b/modules/samhain/templates/logrotate.d-samhain index fd33d1351..9d06ce7d1 100644 --- a/modules/samhain/templates/logrotate.d-samhain +++ b/modules/samhain/templates/logrotate.d-samhain @@ -15,6 +15,6 @@ sharedscripts postrotate if [ -f /var/run/samhain/samhain.pid ]; then \ - /etc/init.d/samhain reload > /dev/null; fi + invoke-rc.d samhain reload > /dev/null; fi endscript } -- 2.20.1