projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All our buildds are running at least stretch, drop jessie specific code
[mirror/dsa-puppet.git]
/
modules
/
syslog_ng
/
files
/
syslog-ng.logrotate
diff --git
a/modules/syslog_ng/files/syslog-ng.logrotate
b/modules/syslog_ng/files/syslog-ng.logrotate
index
895a2cd
..
fd9c92b
100644
(file)
--- a/
modules/syslog_ng/files/syslog-ng.logrotate
+++ b/
modules/syslog_ng/files/syslog-ng.logrotate
@@
-28,6
+28,7
@@
postrotate
if [ -d /run/systemd/system ]; then
/bin/systemctl reload syslog-ng.service >/dev/null
postrotate
if [ -d /run/systemd/system ]; then
/bin/systemctl reload syslog-ng.service >/dev/null
+ sleep 5
else
/usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
fi
else
/usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
fi
@@
-128,6
+129,7
@@
postrotate
if [ -d /run/systemd/system ]; then
/bin/systemctl reload syslog-ng.service >/dev/null
postrotate
if [ -d /run/systemd/system ]; then
/bin/systemctl reload syslog-ng.service >/dev/null
+ sleep 5
else
/usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
fi
else
/usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
fi