aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apache2/apache2.logrotate
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-04 07:58:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-04 07:58:35 +0000
commitbc5d0beacc17d14bc85b8631fa469adeb8d1606d (patch)
treedb987b988e99aa4606a40f15bd85adaeaacb5c73 /testing/apache2/apache2.logrotate
parent6d34b2ee19f12a36c7797cfc693df5d5f0fdc578 (diff)
downloadaports-bc5d0beacc17d14bc85b8631fa469adeb8d1606d.tar.bz2
aports-bc5d0beacc17d14bc85b8631fa469adeb8d1606d.tar.xz
testing/apache2: renamed from apache
Upstream seems to use "apache2"
Diffstat (limited to 'testing/apache2/apache2.logrotate')
-rw-r--r--testing/apache2/apache2.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/apache2/apache2.logrotate b/testing/apache2/apache2.logrotate
new file mode 100644
index 0000000000..1264341468
--- /dev/null
+++ b/testing/apache2/apache2.logrotate
@@ -0,0 +1,7 @@
+/var/log/apache2/*log {
+ postrotate
+ if /etc/init.d/apache2 status; then
+ /etc/init.d/apache2 reload --quiet || true
+ fi
+ endscript
+}