From: Helmut Grohne Date: Fri, 7 Nov 2014 14:27:32 +0000 (+0100) Subject: reload samhain using invoke-rc.d X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=557b86e1834d9aa8477a2b0eda84f93e21e54921;p=mirror%2Fdsa-puppet.git reload samhain using invoke-rc.d Getting rid of explicit /etc/init.d/ invocations as those may disappear. Signed-off-by: Helmut Grohne --- 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 }