[mirrorbrain-commits] r8374 - /trunk/tools/geoip-lite-update

From: <poeml_at_mirrorbrain.org>
Date: Tue, 04 Feb 2014 22:05:19 -0000
Author: poeml
Date: Tue Feb  4 23:05:19 2014
New Revision: 8374

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8374&view=rev
Log:
tools/geoip-lite-update:
- The updated version from 2.18.0 had a bug with wrong usage of
  systemctl to reload Apache after updating the GeoIP databases.

Modified:
    trunk/tools/geoip-lite-update

Modified: trunk/tools/geoip-lite-update
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/geoip-lite-update?rev=8374&r1=8373&r2=8374&view=diff
==============================================================================
--- trunk/tools/geoip-lite-update	(original)
+++ trunk/tools/geoip-lite-update	Tue Feb  4 23:05:19 2014
_at_@ -59,6 +59,8 @@
 elif [ -x /etc/init.d/httpd ]; then
 	/etc/init.d/httpd reload
 elif [ -x /usr/bin/systemctl ]; then
-	/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+	/usr/bin/systemctl reload httpd >/dev/null 2>&1 || :
+elif [ -x /bin/systemctl ]; then
+	/bin/systemctl reload httpd >/dev/null 2>&1 || :
 fi
 




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Tue Feb 04 2014 - 22:05:40 GMT

This archive was generated by hypermail 2.3.0 : Tue Feb 04 2014 - 22:17:04 GMT