summaryrefslogtreecommitdiff
path: root/pcr/nginx-passenger/logrotate
diff options
context:
space:
mode:
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
+}