diff options
author | Lakshmipathi <lakshmipathi@gluster.com> | 2011-06-06 04:17:24 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-08 09:58:11 -0700 |
commit | 5e5638795ce820de7e087c438e618eaf7335059b (patch) | |
tree | 03a9b277e7b02e5cf7dcc75cfbeb6c13bb6b8462 /glusterfs.spec.in | |
parent | b96d9cbf7300e515a8de8d7d90c61110b5301f37 (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
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index efed334a234..d01e87e34c7 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) |