summarylogtreecommitdiffstats
path: root/logrotate
diff options
context:
space:
mode:
authorroot2015-06-12 09:32:17 +0200
committerroot2015-06-12 09:32:17 +0200
commit6ffc08365bce7778c4bd8baa0b7cef5d0b596302 (patch)
tree394f268347b7a9e71be346607eba75c5d7f92c78 /logrotate
downloadaur-6ffc08365bce7778c4bd8baa0b7cef5d0b596302.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
+}