]> TLD Linux GIT Repositories - packages/apache.git/commitdiff
- cleanup
authorMarcin Krol <hawk@tld-linux.org>
Sun, 27 May 2018 22:45:27 +0000 (22:45 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 27 May 2018 22:45:27 +0000 (22:45 +0000)
apache.logrotate

index 2d05b37679755e5e30d1bc5a1c426b2a75324613..27ebbe548d6bd2a1204acfecad5f4bd72c5848cc 100644 (file)
@@ -9,10 +9,6 @@
     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
+       /sbin/service httpd flush-logs > /dev/null
     endscript
 }