summaryrefslogtreecommitdiff
path: root/community-staging/nginx/nginx.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-19 00:01:39 +0000
committerroot <root@rshg054.dnsready.net>2012-06-19 00:01:39 +0000
commitca8fbff4eeda39b8a24515043ec4c8fdb95c23ee (patch)
treee31e0e223f205368e42e8f2378af9f8c76da0c0f /community-staging/nginx/nginx.logrotate
parent014b5d0a1ee98ba0466f067f605b9637f2a14b2f (diff)
Tue Jun 19 00:01:39 UTC 2012
Diffstat (limited to 'community-staging/nginx/nginx.logrotate')
-rw-r--r--community-staging/nginx/nginx.logrotate8
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
+}