summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfs.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index efed334..d01e87e 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -237,6 +237,10 @@ fi
%{_libdir}/glusterfs/%{version}/rpc-transport/rdma*
%endif
+%post geo-replication
+#restart glusterd.
+/etc/init.d/glusterd restart &> /dev/null
+
%if 0%{!?_without_geo-replication:1}
%files geo-replication
%defattr(-,root,root)