projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538a7b2
)
reload samhain using invoke-rc.d
author
Helmut Grohne
<helmut@subdivi.de>
Fri, 7 Nov 2014 14:27:32 +0000
(15:27 +0100)
committer
Héctor Orón Martínez
<zumbi@debian.org>
Fri, 7 Nov 2014 15:39:54 +0000
(16:39 +0100)
Getting rid of explicit /etc/init.d/ invocations as those may disappear.
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
modules/samhain/templates/logrotate.d-samhain
patch
|
blob
|
history
diff --git
a/modules/samhain/templates/logrotate.d-samhain
b/modules/samhain/templates/logrotate.d-samhain
index
fd33d13
..
9d06ce7
100644
(file)
--- 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
}