aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/apache2.logrotate
diff options
context:
space:
mode:
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
+}
+