aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apache2/apache2.logrotate
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-04 15:32:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-04 15:32:59 +0000
commitd319d97c8808f746072ba95bb10b7e0b97976ecd (patch)
tree460ec7ca5308d976d25ddf6aca6f78778880aaa4 /testing/apache2/apache2.logrotate
parentbc5d0beacc17d14bc85b8631fa469adeb8d1606d (diff)
downloadaports-d319d97c8808f746072ba95bb10b7e0b97976ecd.tar.bz2
aports-d319d97c8808f746072ba95bb10b7e0b97976ecd.tar.xz
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
Diffstat (limited to 'testing/apache2/apache2.logrotate')
-rw-r--r--testing/apache2/apache2.logrotate13
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
}
+