Package: nginx-common
Severity: normal
Tags: patch


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Sorry, patch is reversed:

diff -cBbi ./logrotate.d/nginx /etc/logrotate.d/nginx 
*** ./logrotate.d/nginx 2012-07-30 15:40:30.085543796 +1000
--- /etc/logrotate.d/nginx      2012-07-03 23:46:41.000000000 +1000
***************
*** 10,16 ****
        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`
--- 10,16 ----
        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`


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to