]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache.logrotate
- PLD merge
[packages/apache.git] / apache.logrotate
index 060a1b8d3f18653b2e87d805179a87d77f0cf044..2d05b37679755e5e30d1bc5a1c426b2a75324613 100644 (file)
@@ -9,6 +9,10 @@
     olddir /var/log/archive/httpd
     sharedscripts
     postrotate
+       if /bin/systemd_booted; then
+               /bin/systemctl reload httpd.service
+       else
                /sbin/service httpd flush-logs > /dev/null
+       fi
     endscript
 }