summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand V. Avati <avati@dev.gluster.com>2010-11-29 09:01:41 -0800
committerAnand V. Avati <avati@dev.gluster.com>2010-11-29 09:01:41 -0800
commit69a62d2a6d8ad127787aad2215c2130a03f58090 (patch)
tree9117c21317661e007b466229d89261572ab83616
parentc0be54cfcd4491ca212226ed5687740813a4aeb6 (diff)
rpm: glusterfs.spec.in fixes for upgrade via rpm -Uvhv3.1.1
-rw-r--r--glusterfs.spec.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 5819292..85ae0d6 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -97,7 +97,6 @@ is in userspace and easily manageable.
This package provides support to FUSE based clients.
-
%prep
%setup -q -n %{name}-%{version}
@@ -129,6 +128,12 @@ find %{buildroot}%{_libdir} -name '*.a' | xargs rm -f
%post core
/sbin/ldconfig -n %{_libdir}
/sbin/chkconfig --add glusterd
+#killall glusterfsd,glusterfs,glusterd
+/usr/bin/killall glusterfsd 2>/dev/null || true;
+/usr/bin/killall glusterfs 2>/dev/null || true;
+/usr/bin/killall glusterd 2>/dev/null || true;
+#start glusterd
+/usr/sbin/glusterd
%postun core
/sbin/ldconfig -n %{_libdir}