diff options
author | root <root@rshg054.dnsready.net> | 2012-07-05 00:02:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-05 00:02:54 +0000 |
commit | 7f6f69dc52c8601768ba48fa7b69507a80d532cb (patch) | |
tree | 028dd3e49c2080a2ab59860c0a20b3a8dfe5cdbf /community/nginx/nginx.logrotate | |
parent | 298f654d4656dcc1e8d78c37dd77ae2ebfc1bf5f (diff) |
Thu Jul 5 00:02:54 UTC 2012
Diffstat (limited to 'community/nginx/nginx.logrotate')
-rw-r--r-- | community/nginx/nginx.logrotate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/community/nginx/nginx.logrotate b/community/nginx/nginx.logrotate new file mode 100644 index 000000000..d490d5d9b --- /dev/null +++ b/community/nginx/nginx.logrotate @@ -0,0 +1,8 @@ +/var/log/nginx/*.log { + missingok + sharedscripts + compress + postrotate + test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid` + endscript +} |