diff options
author | root <root@rshg054.dnsready.net> | 2013-02-23 00:05:19 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-23 00:05:19 -0800 |
commit | c8c918cb8c810e3300e5165f9af7ca8ab9650a59 (patch) | |
tree | 319544cd588357463dc03a0e2863c84748c0981c /community/nginx/logrotate | |
parent | 0ab7960ba6a457b7dd3ed5ede0cdb93e816d29a4 (diff) |
Sat Feb 23 00:05:17 PST 2013
Diffstat (limited to 'community/nginx/logrotate')
-rw-r--r-- | community/nginx/logrotate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/community/nginx/logrotate b/community/nginx/logrotate new file mode 100644 index 000000000..8773578b5 --- /dev/null +++ b/community/nginx/logrotate @@ -0,0 +1,9 @@ +/var/log/nginx/*log { + missingok + create 750 root log + sharedscripts + compress + postrotate + test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid` + endscript +} |