Permalink
Browse files

one more logrotate change

  • Loading branch information...
fagiani committed Jan 23, 2012
1 parent b0451e1 commit 1e4a3b9fa743ca96d8000f19d98b1ef330183619
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/passenger.sh
View
@@ -25,13 +25,8 @@ function install_passenger_with_nginx {
notifempty
create 0640 www-data adm
sharedscripts
- prerotate
- if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
- run-parts /etc/logrotate.d/httpd-prerotate; \
- fi; \
- endscript
postrotate
- [ ! -f /var/run/nginx.pid ] || kill -USR1 \`cat /var/run/nginx.pid\`
+ [ ! -f /var/run/nginx.pid ] || kill -USR1 \`cat /var/run/nginx.pid\`
endscriptript
}
EOF

0 comments on commit 1e4a3b9

Please sign in to comment.