]> git.pld-linux.org Git - packages/apache.git/commitdiff
- allow work without systemd-units
authorElan Ruusamäe <glen@delfi.ee>
Sun, 25 Nov 2012 14:44:48 +0000 (16:44 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 25 Nov 2012 14:44:48 +0000 (16:44 +0200)
apache.logrotate

index 2d05b37679755e5e30d1bc5a1c426b2a75324613..cc7aa6a250d8936a24440f764e534fef9ca920fd 100644 (file)
@@ -9,7 +9,7 @@
     olddir /var/log/archive/httpd
     sharedscripts
     postrotate
-       if /bin/systemd_booted; then
+       if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
                /bin/systemctl reload httpd.service
        else
                /sbin/service httpd flush-logs > /dev/null
This page took 0.035773 seconds and 4 git commands to generate.