summarylogtreecommitdiffstats
path: root/logrotate
diff options
context:
space:
mode:
authorBoohbah2015-07-06 21:26:30 +0000
committerBoohbah2015-07-06 21:26:30 +0000
commit8dee9164b759faf34a8ba9a392b08f6ecfc4987c (patch)
tree298d4ddfcb1c5a5516a9c8d38e82449374f3cb46 /logrotate
downloadaur-nginx-hg.tar.gz
Initial import
Diffstat (limited to 'logrotate')
-rw-r--r--logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/logrotate b/logrotate
new file mode 100644
index 000000000000..e0fa9ec4cefd
--- /dev/null
+++ b/logrotate
@@ -0,0 +1,9 @@
+/var/log/nginx/*log {
+ missingok
+ create 640 http log
+ sharedscripts
+ compress
+ postrotate
+ test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+}