summaryrefslogtreecommitdiff
path: root/pcr/nginx-passenger/logrotate
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-02 21:50:36 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-02 21:50:36 -0500
commitbcb7613c18d8fade15448d141e9420cdc1736787 (patch)
tree04e128ec813153f3363c5d07b62a76ac630b65af /pcr/nginx-passenger/logrotate
parent46683a9da9d3c7f1e108f0eb2f429eafdeb37937 (diff)
add pcr/nginx-passenger
Diffstat (limited to 'pcr/nginx-passenger/logrotate')
-rw-r--r--pcr/nginx-passenger/logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcr/nginx-passenger/logrotate b/pcr/nginx-passenger/logrotate
new file mode 100644
index 000000000..e0fa9ec4c
--- /dev/null
+++ b/pcr/nginx-passenger/logrotate
@@ -0,0 +1,9 @@
+/var/log/nginx/*log {
+ missingok
+ create 640 http log
+ sharedscripts
+ compress
+ postrotate
+ test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+}