]> git.pld-linux.org Git - packages/nginx.git/blobdiff - nginx.logrotate
- rel 2; fix http-uwsgi-temp-path
[packages/nginx.git] / nginx.logrotate
index c1404da65ad52965b53842a453a5643bac021f7f..605955cedeb626a9eb0fd9c0e435324b65d6688f 100644 (file)
@@ -3,17 +3,6 @@
        create 644 nginx nginx
        sharedscripts
        postrotate
-               if [ -x /etc/rc.d/init.d/nginx-light ] ; then
-                       /sbin/service nginx-light reopen-logs > /dev/null
-               fi
-               if [ -x /etc/rc.d/init.d/nginx-standard ] ; then
-                       /sbin/service nginx-standard reopen-logs > /dev/null
-               fi
-               if [ -x /etc/rc.d/init.d/nginx-mail ] ; then
-                       /sbin/service nginx-mail reopen-logs > /dev/null
-               fi
-               if [ -x /etc/rc.d/init.d/nginx-perl ] ; then
-                       /sbin/service nginx-perl reopen-logs > /dev/null
-               fi
+               /sbin/service nginx reopen-logs > /dev/null
        endscript
 }
This page took 0.031924 seconds and 4 git commands to generate.