aboutsummarylogtreecommitdiffstats
path: root/logrotate
diff options
context:
space:
mode:
authorJoseph Quinn2015-07-23 11:10:14 -0400
committerJoseph Quinn2015-07-23 11:10:14 -0400
commit5500270952f147add360940b754a58828badb285 (patch)
tree21474cffa0b27576bdd46e2ca9d922eac5b67935 /logrotate
downloadaur-5500270952f147add360940b754a58828badb285.tar.gz
initial commit
Diffstat (limited to 'logrotate')
-rw-r--r--logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/logrotate b/logrotate
new file mode 100644
index 000000000000..b055bf491c8d
--- /dev/null
+++ b/logrotate
@@ -0,0 +1,10 @@
+/var/log/nginx/*log {
+ missingok
+ create 640 http log
+ su http log
+ sharedscripts
+ compress
+ postrotate
+ test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
+ endscript
+} \ No newline at end of file