summaryrefslogtreecommitdiffstats
path: root/build/rpm/httpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/rpm/httpd.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/rpm/httpd.logrotate b/build/rpm/httpd.logrotate
new file mode 100644
index 0000000..1a03e85
--- /dev/null
+++ b/build/rpm/httpd.logrotate
@@ -0,0 +1,8 @@
+/var/log/httpd/*log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /sbin/service httpd graceful 2> /dev/null || true
+ endscript
+}