diff options
author | Leo P | 2015-12-01 14:04:37 -0500 |
---|---|---|
committer | Leo P | 2015-12-01 14:04:37 -0500 |
commit | 62c687af52180967f388a628837587682ff438d0 (patch) | |
tree | bdac601c80ce4f28da4958272e7dead7acb0010c /nginx.logrotate | |
download | aur-62c687af52180967f388a628837587682ff438d0.tar.gz |
try out nchan
Diffstat (limited to 'nginx.logrotate')
-rw-r--r-- | nginx.logrotate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nginx.logrotate b/nginx.logrotate new file mode 100644 index 000000000000..f6f7246159d3 --- /dev/null +++ b/nginx.logrotate @@ -0,0 +1,11 @@ +/var/log/nginx/*log +/var/log/nginx/*/*log +{ + daily + missingok + create 640 http log + compress + postrotate + [ ! -f /run/nginx.pid ] || kill -USR1 `cat /run/nginx.pid` + endscript +} |