diff options
author | Hui Yiqun | 2015-12-21 12:59:26 +0800 |
---|---|---|
committer | Hui Yiqun | 2015-12-21 12:59:26 +0800 |
commit | 3e59ccd0f239cfc4a0c650e103cceff4e9d9b89c (patch) | |
tree | c1c2c0410b0c39545fefc1322d744948a6def198 /logrotate | |
download | aur-3e59ccd0f239cfc4a0c650e103cceff4e9d9b89c.tar.gz |
initial commit
Diffstat (limited to 'logrotate')
-rw-r--r-- | logrotate | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/logrotate b/logrotate new file mode 100644 index 000000000000..61237601f6da --- /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 +} |