]> git.pld-linux.org Git - packages/nginx.git/blobdiff - nginx.logrotate
add reopen-logs target
[packages/nginx.git] / nginx.logrotate
index de1f30dcc456835af6ccbaf525735a5e43fb647c..c1404da65ad52965b53842a453a5643bac021f7f 100644 (file)
@@ -4,16 +4,16 @@
        sharedscripts
        postrotate
                if [ -x /etc/rc.d/init.d/nginx-light ] ; then
-                       /sbin/service nginx-light graceful > /dev/null
+                       /sbin/service nginx-light reopen-logs > /dev/null
                fi
                if [ -x /etc/rc.d/init.d/nginx-standard ] ; then
-                       /sbin/service nginx-standard graceful > /dev/null
+                       /sbin/service nginx-standard reopen-logs > /dev/null
                fi
                if [ -x /etc/rc.d/init.d/nginx-mail ] ; then
-                       /sbin/service nginx-mail graceful > /dev/null
+                       /sbin/service nginx-mail reopen-logs > /dev/null
                fi
                if [ -x /etc/rc.d/init.d/nginx-perl ] ; then
-                       /sbin/service nginx-perl graceful > /dev/null
+                       /sbin/service nginx-perl reopen-logs > /dev/null
                fi
        endscript
 }
This page took 0.086908 seconds and 4 git commands to generate.