aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/apache2.logrotate
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-10 12:19:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-10 12:19:19 +0000
commitc82268523e28a998de4dce38b842b25c4ba4ffd2 (patch)
treee32c719037aa82138ceb1319a27971ed0dee2f9f /main/apache2/apache2.logrotate
parentc0367e7f1e95ef668455892afc61ebbbc53a35d9 (diff)
downloadaports-c82268523e28a998de4dce38b842b25c4ba4ffd2.tar.bz2
aports-c82268523e28a998de4dce38b842b25c4ba4ffd2.tar.xz
main/apache2: moved from testing
fixes #392
Diffstat (limited to 'main/apache2/apache2.logrotate')
-rw-r--r--main/apache2/apache2.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/apache2/apache2.logrotate b/main/apache2/apache2.logrotate
new file mode 100644
index 0000000000..fe19a4381f
--- /dev/null
+++ b/main/apache2/apache2.logrotate
@@ -0,0 +1,10 @@
+/var/log/apache2/*log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /sbin/rc-service --quiet apache2 reload > /dev/null 2>/dev/null || true
+ endscript
+}
+