diff --git a/roles/pmg/templates/logrotate.d/rsyslog.j2 b/roles/pmg/templates/logrotate.d/rsyslog.j2 index 65c298b..49bbee5 100644 --- a/roles/pmg/templates/logrotate.d/rsyslog.j2 +++ b/roles/pmg/templates/logrotate.d/rsyslog.j2 @@ -7,7 +7,7 @@ delaycompress compress postrotate - invoke-rc.d rsyslog rotate > /dev/null + /usr/lib/rsyslog/rsyslog-rotate endscript } @@ -32,6 +32,6 @@ delaycompress sharedscripts postrotate - invoke-rc.d rsyslog rotate > /dev/null + /usr/lib/rsyslog/rsyslog-rotate endscript }