summarylogtreecommitdiffstats
path: root/logrotate
diff options
context:
space:
mode:
authorkasei2017-03-05 13:43:05 +0800
committerkasei2017-03-05 13:43:05 +0800
commit355bbbc91afd98fba89102b68c22901d6e1c8fc4 (patch)
tree5012120de99e0edee5223a8f81bd32450c9db729 /logrotate
parent7cf70007f7c9c8480dbaffa2a3276e53be1621aa (diff)
downloadaur-355bbbc91afd98fba89102b68c22901d6e1c8fc4.tar.gz
updpkg: nginx-mainline-boringssl 1.11.10-1
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..6fcf5581a75c
--- /dev/null
+++ b/logrotate
@@ -0,0 +1,10 @@
+/var/log/nginx/*log {
+ missingok
+ notifempty
+ create 640 http log
+ sharedscripts
+ compress
+ postrotate
+ test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+}