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/logrotate3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcr/nginx-passenger/logrotate b/pcr/nginx-passenger/logrotate
index e0fa9ec4c..61237601f 100644
--- a/pcr/nginx-passenger/logrotate
+++ b/pcr/nginx-passenger/logrotate
@@ -1,9 +1,10 @@
/var/log/nginx/*log {
missingok
create 640 http log
+ su http log
sharedscripts
compress
postrotate
- test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
+ test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
endscript
}