[packages/apache/APACHE_2_2] - allow work without systemd-units
glen
glen at pld-linux.org
Sun Nov 25 15:46:33 CET 2012
commit 2fe235896ea7c8a82759e87f6623863f4ff07f37
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Nov 25 16:44:48 2012 +0200
- allow work without systemd-units
apache.logrotate | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/apache.logrotate b/apache.logrotate
index 2d05b37..cc7aa6a 100644
--- a/apache.logrotate
+++ b/apache.logrotate
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/2fe235896ea7c8a82759e87f6623863f4ff07f37
More information about the pld-cvs-commit
mailing list