Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Reload apache on RPM install

Mike McGann32e13c74ae10
diff --git a/etc/deploy/worldview.spec b/etc/deploy/worldview.spec
index 3f3cbcb3a..2b72c5c06 100644
--- a/etc/deploy/worldview.spec
+++ b/etc/deploy/worldview.spec
@@ -135,6 +135,18 @@ rm -rf %{buildroot}
#%dir %{_sharedstatedir}/@WORLDVIEW@-debug
#%dir %{_localstatedir}/log/@WORLDVIEW@-debug
+
+%post
+if [ $1 -gt 1 ] ; then
+ service httpd reload
+fi
+
+%postun
+if [ $1 -eq 0 ] ; then
+ serivce httpd reload
+fi
+
+
%changelog
* Wed Oct 30 2013 Mike McGann <[email protected]> - 0.6.0-1
- Worldview 0.6.0 release