summaryrefslogtreecommitdiffstats
path: root/testing/apache2/apache2.logrotate
diff options
context:
space:
mode:
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 000000000..126434146
--- /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
+}