diff options
Diffstat (limited to 'testing/apache2/apache2.logrotate')
-rw-r--r-- | testing/apache2/apache2.logrotate | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/apache2/apache2.logrotate b/testing/apache2/apache2.logrotate index 1264341468..fe19a4381f 100644 --- a/testing/apache2/apache2.logrotate +++ b/testing/apache2/apache2.logrotate @@ -1,7 +1,10 @@ /var/log/apache2/*log { - postrotate - if /etc/init.d/apache2 status; then - /etc/init.d/apache2 reload --quiet || true - fi - endscript + missingok + notifempty + sharedscripts + delaycompress + postrotate + /sbin/rc-service --quiet apache2 reload > /dev/null 2>/dev/null || true + endscript } + |