Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

one more logrotate change

  • Loading branch information...
commit 1e4a3b9fa743ca96d8000f19d98b1ef330183619 1 parent b0451e1
Paulo Fagiani authored

Showing 1 changed file with 1 addition and 6 deletions. Show diff stats Hide diff stats

  1. 7  lib/passenger.sh
7  lib/passenger.sh
@@ -25,13 +25,8 @@ function install_passenger_with_nginx {
25 25
         notifempty
26 26
         create 0640 www-data adm
27 27
         sharedscripts
28  
-        prerotate
29  
-                if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
30  
-                run-parts           /etc/logrotate.d/httpd-prerotate; \
31  
-                fi; \
32  
-        endscript
33 28
         postrotate
34  
-                [             ! -f /var/run/nginx.pid ] || kill -USR1 \`cat /var/run/nginx.pid\`
  29
+                [ ! -f /var/run/nginx.pid ] || kill -USR1 \`cat /var/run/nginx.pid\`
35 30
         endscriptript
36 31
 }
37 32
 EOF

0 notes on commit 1e4a3b9

Please sign in to comment.
Something went wrong with that request. Please try again.