summaryrefslogtreecommitdiff
path: root/user/apache-httpd/apache-httpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'user/apache-httpd/apache-httpd.logrotate')
-rw-r--r--user/apache-httpd/apache-httpd.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/apache-httpd/apache-httpd.logrotate b/user/apache-httpd/apache-httpd.logrotate
new file mode 100644
index 000000000..b50fb7147
--- /dev/null
+++ b/user/apache-httpd/apache-httpd.logrotate
@@ -0,0 +1,10 @@
+/var/log/apache2/*log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /etc/init.d/apache2 --quiet --ifstarted reload > /dev/null 2>/dev/null || true
+ endscript
+}
+