diff options
author | root <root@rshg054.dnsready.net> | 2012-06-19 00:01:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-19 00:01:39 +0000 |
commit | ca8fbff4eeda39b8a24515043ec4c8fdb95c23ee (patch) | |
tree | e31e0e223f205368e42e8f2378af9f8c76da0c0f /community-staging/nginx/nginx.logrotate | |
parent | 014b5d0a1ee98ba0466f067f605b9637f2a14b2f (diff) |
Tue Jun 19 00:01:39 UTC 2012
Diffstat (limited to 'community-staging/nginx/nginx.logrotate')
-rw-r--r-- | community-staging/nginx/nginx.logrotate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/community-staging/nginx/nginx.logrotate b/community-staging/nginx/nginx.logrotate new file mode 100644 index 000000000..d490d5d9b --- /dev/null +++ b/community-staging/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 +} |