summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmipathi <lakshmipathi@gluster.com>2011-06-06 04:17:24 +0000
committerAnand Avati <avati@gluster.com>2011-06-08 09:58:11 -0700
commit5e5638795ce820de7e087c438e618eaf7335059b (patch)
tree03a9b277e7b02e5cf7dcc75cfbeb6c13bb6b8462
parentb96d9cbf7300e515a8de8d7d90c61110b5301f37 (diff)
restart glusterd after installing geo-replication rpm
Signed-off-by: Lakshmipathi.G <lakshmipathi@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2901 (Cannot start geo-replication) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2901
-rw-r--r--glusterfs.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index efed334a2..d01e87e34 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)