summaryrefslogtreecommitdiff
path: root/pcr/nginx-passenger/logrotate
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-25 10:54:18 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-25 11:02:17 -0500
commitd42d1e7af01f6ec94f1bccd4b45332138d8d1b5b (patch)
tree0294239ffb2f4cb095e800fddbfd204164cde17e /pcr/nginx-passenger/logrotate
parent03965e9617206cbf040d39b448e6b27de051b1c9 (diff)
downloadabslibre-d42d1e7af01f6ec94f1bccd4b45332138d8d1b5b.tar.gz
abslibre-d42d1e7af01f6ec94f1bccd4b45332138d8d1b5b.tar.bz2
abslibre-d42d1e7af01f6ec94f1bccd4b45332138d8d1b5b.zip
pcr/nginx-passenger: reflect logrotate changes in extra/passenger
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
}