summaryrefslogtreecommitdiff
path: root/network/apache2/logrotate.apache
diff options
context:
space:
mode:
Diffstat (limited to 'network/apache2/logrotate.apache')
-rw-r--r--network/apache2/logrotate.apache9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/apache2/logrotate.apache b/network/apache2/logrotate.apache
new file mode 100644
index 0000000000..1f024ba345
--- /dev/null
+++ b/network/apache2/logrotate.apache
@@ -0,0 +1,9 @@
+/var/log/apache2/* {
+ size=100k
+ compress
+ rotate 5
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.httpd restart
+ endscript
+}