diff options
author | Niels de Vos <ndevos@redhat.com> | 2012-10-11 16:42:33 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-10-11 16:34:57 -0700 |
commit | 85866c6a9ef9b7401bb05f93fa9602f844d5a35b (patch) | |
tree | 50fad6769139c2cad925cd1ddbb1b7c9957dbe52 /cli/src | |
parent | f1f3d1c62d1e066c065f250caa0fc005b66dba37 (diff) |
build: do not unconditionally restart glusterd in glusterfs-geo-replication %post
When the glusterd service is disabled and/or not running, the %post
scriptlet for the glusterfs-geo-replication sub-package should not start
glusterd.
To resolve this, an additional condition will only restart glusterd on an
update ($1 -ge 1) and only when it is running (condrestart).
Change-Id: I4c18954e979377cf7211c3a55d14896898836fe6
BUG: 766640
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/4063
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions