From d319d97c8808f746072ba95bb10b7e0b97976ecd Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 4 Aug 2010 15:32:59 +0000 Subject: testing/apache2: add default config ship a default config based on fedora's build optimization, dont build modules for the mpms. remove the gentoo specific parts from /etc/conf.d/apache2 --- testing/apache2/apache2.logrotate | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'testing/apache2/apache2.logrotate') 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 } + -- cgit v1.2.3